aioz-ai / CVPRW21_GPS

Graph-based Person Signature for Person Re-Identifications (CVPRW 21)
https://blog.ai.aioz.io/research/gps-reid/
MIT License
16 stars 8 forks source link

KeyError: 'dataset\\dukemtmc\\bounding_box_train\\0001_c2_f0046182' #8

Open lqbcccy opened 2 months ago

lqbcccy commented 2 months ago

Traceback (most recent call last): File "train.py", line 165, in main() File "train.py", line 161, in main train(cfg) File "train.py", line 31, in train train_loader, val_loader, num_query, num_classes = make_data_loader(cfg) File "E:\download\CVPRW21_GPS-main\data\build.py", line 23, in make_data_loader dataset = init_dataset(cfg.DATASETS.NAMES, root=cfg.DATASETS.ROOT_DIR) File "E:\download\CVPRW21_GPS-main\data\datasets__init.py", line 23, in init_dataset return __factory[name](*args, **kwargs) File "E:\download\CVPRW21_GPS-main\data\datasets\dukemtmcreid.py", line 53, in init__ train = self._process_dir(self.train_dir, relabel=True) File "E:\download\CVPRW21_GPS-main\data\datasets\dukemtmcreid.py", line 110, in _process_dir mask_path = osp.join(self.mask_dir, self.mask_path[img_id]) KeyError: 'dataset\dukemtmc\bounding_box_train\0001_c2_f0046182'

作者 你好 请问这个怎么解决?windows系统跑的