You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 "H:\Code in the paper\CVPRW21_GPS-main\data\build.py", line 23, in make_data_loader
dataset = init_dataset(cfg.DATASETS.NAMES, root=cfg.DATASETS.ROOT_DIR)
File "H:\Code in the paper\CVPRW21_GPS-main\data\datasets_init_.py", line 23, in init_dataset
return __factory[name](*args, **kwargs)
File "H:\Code in the paper\CVPRW21_GPS-main\data\datasets\market1501.py", line 50, in init
train = self._process_dir(self.train_dir, relabel=True)
File "H:\Code in the paper\CVPRW21_GPS-main\data\datasets\market1501.py", line 91, in _process_dir
mask_path = osp.join(self.mask_dir, self.mask_path[img_id])
KeyError: 'dataset\market1501\bounding_box_train\0002_c1s1_000451_03'
Please give me some advice,mogul.
The text was updated successfully, but these errors were encountered:
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 "H:\Code in the paper\CVPRW21_GPS-main\data\build.py", line 23, in make_data_loader
dataset = init_dataset(cfg.DATASETS.NAMES, root=cfg.DATASETS.ROOT_DIR)
File "H:\Code in the paper\CVPRW21_GPS-main\data\datasets_init_.py", line 23, in init_dataset
return __factory[name](*args, **kwargs)
File "H:\Code in the paper\CVPRW21_GPS-main\data\datasets\market1501.py", line 50, in init
train = self._process_dir(self.train_dir, relabel=True)
File "H:\Code in the paper\CVPRW21_GPS-main\data\datasets\market1501.py", line 91, in _process_dir
mask_path = osp.join(self.mask_dir, self.mask_path[img_id])
KeyError: 'dataset\market1501\bounding_box_train\0002_c1s1_000451_03'
Please give me some advice,mogul.
The text was updated successfully, but these errors were encountered: