Fix bug: COMBINEALL should add extra prefix to avoid pid conflictions (#447)

pull/450/head
Xie Jingyi 2021-03-30 15:49:52 +08:00 committed by GitHub
parent be0a089e1f
commit 25cfa88fd9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

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