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
python tools/test.py configs/grid_rcnn_r50_fpn_2x.py checkpoints/grid_rcnn_res50.pth --show
loading annotations into memory...
Traceback (most recent call last):
File "tools/test.py", line 189, in
main()
File "tools/test.py", line 145, in main
dataset = get_dataset(cfg.data.test)
File "/home/fsr/Grid-R-CNN/mmdet/datasets/utils.py", line 110, in get_dataset
dset = obj_from_dict(data_info, datasets)
File "/home/fsr/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/mmcv/runner/utils.py", line 50, in obj_from_dict
return obj_type(**args)
File "/home/fsr/Grid-R-CNN/mmdet/datasets/custom.py", line 61, in init
self.img_infos = self.load_annotations(ann_file)
File "/home/fsr/Grid-R-CNN/mmdet/datasets/coco.py", line 25, in load_annotations
self.coco = COCO(ann_file)
File "/home/fsr/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/pycocotools-2.0.2-py3.7-linux-x86_64.egg/pycocotools/coco.py", line 84, in init
with open(annotation_file, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'data/coco/annotations/instances_val2017.json'
but the file does exist.
The text was updated successfully, but these errors were encountered:
python tools/test.py configs/grid_rcnn_r50_fpn_2x.py checkpoints/grid_rcnn_res50.pth --show
loading annotations into memory...
Traceback (most recent call last):
File "tools/test.py", line 189, in
main()
File "tools/test.py", line 145, in main
dataset = get_dataset(cfg.data.test)
File "/home/fsr/Grid-R-CNN/mmdet/datasets/utils.py", line 110, in get_dataset
dset = obj_from_dict(data_info, datasets)
File "/home/fsr/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/mmcv/runner/utils.py", line 50, in obj_from_dict
return obj_type(**args)
File "/home/fsr/Grid-R-CNN/mmdet/datasets/custom.py", line 61, in init
self.img_infos = self.load_annotations(ann_file)
File "/home/fsr/Grid-R-CNN/mmdet/datasets/coco.py", line 25, in load_annotations
self.coco = COCO(ann_file)
File "/home/fsr/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/pycocotools-2.0.2-py3.7-linux-x86_64.egg/pycocotools/coco.py", line 84, in init
with open(annotation_file, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'data/coco/annotations/instances_val2017.json'
but the file does exist.
The text was updated successfully, but these errors were encountered: