Skip to content

Commit

Permalink
update dataset
Browse files Browse the repository at this point in the history
  • Loading branch information
yxgeee committed Aug 14, 2020
1 parent c2a0d79 commit f5de741
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions ibl/datasets/tokyo.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ def arrange(self):
raw_dir = osp.join(self.root, 'raw')
if (not osp.isdir(raw_dir)):
raise RuntimeError("Dataset not found.")
TM_root = osp.join('TokyoTM', 'images')
db_root = osp.join('Tokyo247', 'images')
q_root = osp.join('Tokyo247', 'query')
TM_root = osp.join('tokyoTM', 'images')
db_root = osp.join('tokyo247', 'images')
q_root = osp.join('tokyo247', 'query')

identities = []
utms = []
Expand Down Expand Up @@ -115,6 +115,7 @@ def register_247(split):
db_ids = []
for fpath, utm in zip(struct.dbImage, struct.utmDb):
sid = osp.dirname(fpath)
fpath = fpath[:-3]+'png'
# sid = str(utm[0])+'_'+str(utm[1])
# sid = fpath[:-12]
if (sid not in db_pids.keys()):
Expand Down

0 comments on commit f5de741

Please sign in to comment.