Skip to content

Commit dfe4ba4

Browse files
committed
Update README.md
1 parent ac29565 commit dfe4ba4

File tree

5 files changed

+10
-9
lines changed

5 files changed

+10
-9
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@ This code is based on the [Open-ReID](https://github.com/Cysu/open-reid) library
1010
- h5py, scikit-learn, metric-learn, tqdm
1111

1212
### Download datasets
13-
- DukeMTMC-VideoReID: [[Google Drive]](https://drive.google.com/open?id=1T5bmWetLSvLjR30hAp8S54G2ERs81Pkg) [[BaiduYun]](https://pan.baidu.com/s/1axx55Z7XDzc95i0yGr4ItQ) [[Direct Link]](http://45.62.126.139/dukemtmc_videoReID.zip). [This repo](https://github.com/Yu-Wu/DukeMTMC-VideoReID) includes more details and baseline code.
14-
- MARS: [[Google Drive]](https://drive.google.com/open?id=1m6yLgtQdhb6pLCcb6_m7sj0LLBRvkDW0).
13+
- DukeMTMC-VideoReID: [[Direct Link]](http://vision.cs.duke.edu/DukeMTMC/data/misc/DukeMTMC-VideoReID.zip)  [[Google Drive]](https://drive.google.com/open?id=1WVjJ7PwhakF40a-BgOs1Jr_a17O38eOz)  [[BaiduYun]](https://pan.baidu.com/s/1Y_unlSqZqSdU3SeBqQmE5A). This [page](https://github.com/Yu-Wu/DukeMTMC-VideoReID) contains more details and baseline code.
14+
- MARS: [[Google Drive]](https://drive.google.com/open?id=1m6yLgtQdhb6pLCcb6_m7sj0LLBRvkDW0)   [[BaiduYun]](https://pan.baidu.com/s/1mByTdvXFsmobXOXBEkIWFw).
1515
- Move the downloaded zip files to `./data/` and unzip here.
1616

1717

1818
## Train
1919

2020
For the DukeMTMC-VideoReID dataset:
2121
```shell
22-
python3 run.py --dataset dukemtmc_videoReID --logs_dir logs/dukemtmc_videoReID_EF_10/ --EF 10 --mode Dissimilarity --max_frames 900
22+
python3 run.py --dataset DukeMTMC-VideoReID --logs_dir logs/DukeMTMC-VideoReID_EF_10/ --EF 10 --mode Dissimilarity --max_frames 900
2323
```
2424

2525
For the MARS datasaet:
@@ -53,3 +53,4 @@ If you have further questions about this paper, please do not hesitate to contac
5353

5454
[Yu Wu's Homepage](https://yu-wu.net)
5555

56+

reid/datasets/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
__factory = {
99
'mars': Mars,
10-
'dukemtmc_videoReID': DukeMTMC_VideoReID
10+
'DukeMTMC-VideoReID': DukeMTMC_VideoReID
1111
}
1212

1313

reid/datasets/dukemtmc_videoReID.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
class DukeMTMC_VideoReID(Dataset):
1010
def __init__(self, root, split_id=0, num_val=100, download=True):
1111
super(self.__class__, self).__init__(root, split_id=split_id)
12-
self.name="dukemtmc_videoReID"
12+
self.name="DukeMTMC-VideoReID"
1313
self.num_cams = 8
1414

1515
if download:
@@ -67,9 +67,9 @@ def register(subdir):
6767
return pids, vids
6868

6969
print("begin to preprocess mars dataset")
70-
trainval_pids, _ = register('train_split')
71-
gallery_pids, gallery_vids = register('gallery_split')
72-
query_pids, query_vids = register('query_split')
70+
trainval_pids, _ = register('train')
71+
gallery_pids, gallery_vids = register('gallery')
72+
query_pids, query_vids = register('query')
7373
#assert query_pids <= gallery_pids
7474
assert trainval_pids.isdisjoint(gallery_pids)
7575

run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# run DukeMTMC-VideoReID
2-
python3 run.py --dataset dukemtmc_videoReID --logs_dir logs/dukemtmc_videoReID_EF_10/ --EF 10 --mode Dissimilarity --max_frames 900
2+
python3 run.py --dataset DukeMTMC-VideoReID --logs_dir logs/DukeMTMC-VideoReID_EF_10/ --EF 10 --mode Dissimilarity --max_frames 900
33

44
# run mars
55
#python3 run.py --dataset mars --logs_dir logs/mars_EF_10/ --EF 10 --mode Dissimilarity --max_frames 900

0 commit comments

Comments
 (0)