Datasets:
ArXiv:
License:
vlbthambawita
commited on
Commit
•
e35f382
1
Parent(s):
0001762
updated readme
Browse files
README.md
CHANGED
@@ -1,3 +1,47 @@
|
|
1 |
---
|
2 |
license: cc-by-4.0
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
license: cc-by-4.0
|
3 |
---
|
4 |
+
|
5 |
+
# VISEM-Tracking-graphs - HuggingFace Repository
|
6 |
+
|
7 |
+
This HuggingFace repository contains the pre-generated graphs for the sperm video dataset called VISEM-Tracking (https://huggingface.co/papers/2212.02842) . The graphs represent spatial and temporal relationships between sperm in a video. Spatial edges connect sperms within the same frame, while temporal edges connect sperms across different frames.
|
8 |
+
|
9 |
+
The graphs have been generated with varying spatial threshold values: 0.1, 0.2, 0.3, 0.4, and 0.5. Each spatial threshold determines the maximum distance between two nodes for them to be connected in the graph. The repository contains separate directories for each spatial threshold.
|
10 |
+
|
11 |
+
## Repository Structure
|
12 |
+
|
13 |
+
The repository is structured as follows:
|
14 |
+
|
15 |
+
- `spatial_threshold_0.1`
|
16 |
+
- `spatial_threshold_0.2`
|
17 |
+
- `spatial_threshold_0.3`
|
18 |
+
- `spatial_threshold_0.4`
|
19 |
+
- `spatial_threshold_0.5`
|
20 |
+
|
21 |
+
Inside each `spatial_threshold_X` directory, you will find:
|
22 |
+
|
23 |
+
- `frame_graphs`: A directory containing individual frame graphs as GraphML files.
|
24 |
+
- `video_graph.graphml`: A GraphML file containing the complete video graph.
|
25 |
+
|
26 |
+
## Usage
|
27 |
+
|
28 |
+
To use the graphs in this repository, you need to:
|
29 |
+
|
30 |
+
1. Download the desired graph files (frame graphs or video graph) for the spatial threshold of your choice.
|
31 |
+
2. Load the graphs using a graph library such as NetworkX in Python:
|
32 |
+
|
33 |
+
```python
|
34 |
+
import networkx as nx
|
35 |
+
|
36 |
+
# Load a frame graph
|
37 |
+
frame_graph = nx.read_graphml('path/to/frame_graph_X.graphml')
|
38 |
+
|
39 |
+
# Load the video graph
|
40 |
+
video_graph = nx.read_graphml('path/to/video_graph.graphml')
|
41 |
+
|
42 |
+
TO USE THIS DATA, you need to cite the paper:
|
43 |
+
https://arxiv.org/abs/2212.02842
|
44 |
+
|
45 |
+
Nature Scientific data paper will be available soon.
|
46 |
+
|
47 |
+
|