mirror of
https://github.com/JDAI-CV/fast-reid.git
synced 2025-06-03 14:50:47 +08:00
Fix bug: COMBINEALL should add extra prefix to avoid pid conflictions (#447)
This commit is contained in:
parent
be0a089e1f
commit
25cfa88fd9
@ -102,8 +102,8 @@ class Dataset(object):
|
||||
for img_path, pid, camid in data:
|
||||
if pid in self._junk_pids:
|
||||
continue
|
||||
pid = self.dataset_name + "_" + str(pid)
|
||||
camid = self.dataset_name + "_" + str(camid)
|
||||
pid = self.dataset_name + "_test_" + str(pid)
|
||||
camid = self.dataset_name + "_test_" + str(camid)
|
||||
combined.append((img_path, pid, camid))
|
||||
|
||||
_combine_data(self.query)
|
||||
|
Loading…
x
Reference in New Issue
Block a user