You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+21-18Lines changed: 21 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,35 +29,38 @@ cd dr_spaam
29
29
python setup.py install
30
30
```
31
31
32
-
Download and put the [DROW dataset](https://github.com/VisualComputingInstitute/DROW) under `dr_spaam/data`.
33
-
34
-
Download the checkpoints from the release section and put them under `dr_spaam/ckpts`.
35
-
36
-
To measure the network inference time, run:
37
-
```
38
-
python bin/demo.py --time
39
-
```
40
-
41
-
To visualize detections on an example sequence, run:
42
-
```
43
-
python bin/demo.py --dets
32
+
Download and put the [DROW dataset](https://github.com/VisualComputingInstitute/DROW) under `dr_spaam/data`.
33
+
Download the checkpoints from the [release section](https://github.com/VisualComputingInstitute/DR-SPAAM-Detector/releases) and put them under `dr_spaam/ckpts`.
34
+
The directory should have the following layout.
44
35
```
36
+
dr_spaam
37
+
├── data
38
+
│ ├── DROWv2-data
39
+
│ │ ├── test
40
+
│ │ ├── train
41
+
│ │ ├── val
42
+
├── ckpts
43
+
│ ├── drow_e40.pth
44
+
│ ├── dr_spaam_e40.pth
45
+
...
46
+
```
45
47
46
-
To visualize detections with tracklets, run:
48
+
Run `bin/demo.py` to measure the inference time (`--time`),
49
+
to visualize detections on an example sequence (`--dets`),
50
+
or to visualize tracklets (`--tracks`).
47
51
```
48
-
python bin/demo.py --tracks
52
+
python bin/demo.py [--time/--dets/--tracks]
49
53
```
50
54
51
-
To train your own network, run:
55
+
To train a network, run:
52
56
```
53
57
python bin/train.py --cfg cfgs/dr_spaam.yaml
54
58
```
55
59
56
-
To evaluat a checkpoint, run:
60
+
To evaluat a checkpoint on the test set (on the validation set with `--val`), run:
0 commit comments