update veri dataset

Summary: update veri dataset reference information

Reviewed By: l1aoxingyu
pull/372/head
Xingyu Liao 2020-12-22 18:01:37 +08:00 committed by GitHub
commit 0428a270e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -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: