chanyn / HKRM

Hybrid Knowledge Routed Module for Large-scale Object Detection (NerIPS2018)
105 stars 19 forks source link

about test_net.py, " Path does not exist: /data/Detection/vg/VG/2326530.jpg", why the index is so large? And how do I prepare the dataset #23

Open ChriisYoung opened 3 years ago

ChriisYoung commented 3 years ago

Traceback (most recent call last): File "test_net.py", line 175, in imdb, roidb, ratio_list, ratio_index = combined_roidb(args.imdbval_name, False) File "/data/chriisyang/HKRM/lib/roi_data_layer/roidb.py", line 116, in combined_roidb roidbs = [get_roidb(s) for s in imdb_names.split('+')] File "/data/chriisyang/HKRM/lib/roi_data_layer/roidb.py", line 116, in roidbs = [get_roidb(s) for s in imdb_names.split('+')] File "/data/chriisyang/HKRM/lib/roi_data_layer/roidb.py", line 113, in get_roidb roidb = get_training_roidb(imdb) File "/data/chriisyang/HKRM/lib/roi_data_layer/roidb.py", line 102, in get_training_roidb prepare_roidb(imdb) File "/data/chriisyang/HKRM/lib/roi_data_layer/roidb.py", line 28, in prepare_roidb roidb[i]['image'] = imdb.image_path_at(i) File "/data/chriisyang/HKRM/lib/datasets/vg.py", line 83, in image_path_at return self.image_path_from_index(self._image_index[i]) File "/data/chriisyang/HKRM/lib/datasets/vg.py", line 99, in image_path_from_index 'Path does not exist: {}'.format(image_path) AssertionError: Path does not exist: /data/Detection/vg/VG/2326530.jpg