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'
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系统跑的