mirror of https://github.com/JDAI-CV/fast-reid.git
update veri dataset
Summary: update veri dataset reference information Reviewed By: l1aoxingyupull/372/head
commit
0428a270e3
|
@ -17,7 +17,8 @@ class VeRi(ImageDataset):
|
||||||
"""VeRi.
|
"""VeRi.
|
||||||
|
|
||||||
Reference:
|
Reference:
|
||||||
Liu et al. A Deep Learning based Approach for Progressive Vehicle Re-Identification. ECCV 2016.
|
Xinchen Liu et al. A Deep Learning based Approach for Progressive Vehicle Re-Identification. ECCV 2016.
|
||||||
|
Xinchen Liu et al. PROVID: Progressive and Multimodal Vehicle Reidentification for Large-Scale Urban Surveillance. IEEE TMM 2018.
|
||||||
|
|
||||||
URL: `<https://vehiclereid.github.io/VeRi/>`_
|
URL: `<https://vehiclereid.github.io/VeRi/>`_
|
||||||
|
|
||||||
|
@ -57,7 +58,7 @@ class VeRi(ImageDataset):
|
||||||
for img_path in img_paths:
|
for img_path in img_paths:
|
||||||
pid, camid = map(int, pattern.search(img_path).groups())
|
pid, camid = map(int, pattern.search(img_path).groups())
|
||||||
if pid == -1: continue # junk images are just ignored
|
if pid == -1: continue # junk images are just ignored
|
||||||
assert 1 <= pid <= 776
|
assert 0 <= pid <= 776
|
||||||
assert 1 <= camid <= 20
|
assert 1 <= camid <= 20
|
||||||
camid -= 1 # index starts from 0
|
camid -= 1 # index starts from 0
|
||||||
if is_train:
|
if is_train:
|
||||||
|
|
Loading…
Reference in New Issue