Skip to content

Commit 25cfa88

Browse files
authored
Fix bug: COMBINEALL should add extra prefix to avoid pid conflictions (#447)
1 parent be0a089 commit 25cfa88

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: fastreid/data/datasets/bases.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@ def _combine_data(data):
102102
for img_path, pid, camid in data:
103103
if pid in self._junk_pids:
104104
continue
105-
pid = self.dataset_name + "_" + str(pid)
106-
camid = self.dataset_name + "_" + str(camid)
105+
pid = self.dataset_name + "_test_" + str(pid)
106+
camid = self.dataset_name + "_test_" + str(camid)
107107
combined.append((img_path, pid, camid))
108108

109109
_combine_data(self.query)

0 commit comments

Comments
 (0)