SilvioGiancola commited on
Commit
0e50727
·
verified ·
1 Parent(s): 6db3dc0

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +42 -3
README.md CHANGED
@@ -1,3 +1,42 @@
1
- ---
2
- license: gpl-3.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: gpl-3.0
3
+ ---
4
+
5
+
6
+ # TrackingNet devkit
7
+
8
+ ```bash
9
+ conda create -n TrackingNet python pip
10
+ pip install TrackingNet
11
+ ```
12
+
13
+ ## Utility functions for TrackingNet
14
+
15
+ ```python
16
+ from TrackingNet.utils import getListSplit
17
+
18
+ # Get list of codenames for the 12 training + testing split
19
+ TrackingNetSplits = getListSplit()
20
+ print(getListSplit())
21
+ # returns ["TEST", "TRAIN_0", "TRAIN_1", "TRAIN_2", "TRAIN_3", "TRAIN_4", "TRAIN_5", "TRAIN_6", "TRAIN_7", "TRAIN_8", "TRAIN_9", "TRAIN_10", "TRAIN_11"]
22
+
23
+
24
+ # Get list of tracking sequences
25
+ print(getListSequence(split=TrackingNetSplits[1])) # return list of tracking sequences in that split
26
+ print(getListSequence(split="TEST")) # return list of tracking sequences for testing
27
+ print(getListSequence(split=["TRAIN_0", "TRAIN_1"])) # return list of tracking sequences for train splits 0 and 1
28
+ print(getListSequence(split="TRAIN")) # return list of tracking sequences for al train splits
29
+ ```
30
+
31
+ ## Downloading TrackingNet
32
+
33
+ ```python
34
+ from TrackingNet.Downloader import TrackingNetDownloader
35
+ from TrackingNet.utils import getListSplit
36
+
37
+
38
+ downloader = TrackingNetDownloader(LocalDirectory="path/to/TrackingNet")
39
+
40
+ for split in getListSplit():
41
+ downloader.downloadSplit(split)
42
+ ```