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
I got the following error:
File "demo/demo_inference.py", line 118, in
colormap=dota_colormap)
File "demo/demo_inference.py", line 60, in save_det_result
dataset = build_dataset(data_test)
File "/home/zhangyu/s2anet/mmdet/datasets/builder.py", line 39, in build_dataset
dataset = build_from_cfg(cfg, DATASETS, default_args)
File "/home/zhangyu/s2anet/mmdet/utils/registry.py", line 76, in build_from_cfg
return obj_cls(**args)
File "/home/zhangyu/s2anet/mmdet/datasets/custom.py", line 64, in init
self.img_infos = self.load_annotations(self.ann_file)
File "/home/zhangyu/s2anet/mmdet/datasets/custom.py", line 85, in load_annotations
return mmcv.load(ann_file)
File "/home/zhangyu/anaconda3/envs/s2anet/lib/python3.7/site-packages/mmcv/fileio/io.py", line 40, in load
obj = handler.load_from_path(file, **kwargs)
File "/home/zhangyu/anaconda3/envs/s2anet/lib/python3.7/site-packages/mmcv/fileio/handlers/pickle_handler.py", line 13, in load_from_path
filepath, mode='rb', **kwargs)
File "/home/zhangyu/anaconda3/envs/s2anet/lib/python3.7/site-packages/mmcv/fileio/handlers/base.py", line 21, in load_from_path
with open(filepath, mode) as f:
FileNotFoundError: [Errno 2] No such file or directory: 'data/dota_1024/test_split/test_s2anet.pkl'
my input is python demo/demo_inference.py configs/dota/s2anet_r50_fpn_1x_dota.py checkpoints/s2anet_r50_fpn_1x_converted-11c9c5f4.pth data/P0706.jpg result/result1.jpg
The text was updated successfully, but these errors were encountered:
when I use the demo_inference to test
I got the following error:
File "demo/demo_inference.py", line 118, in
colormap=dota_colormap)
File "demo/demo_inference.py", line 60, in save_det_result
dataset = build_dataset(data_test)
File "/home/zhangyu/s2anet/mmdet/datasets/builder.py", line 39, in build_dataset
dataset = build_from_cfg(cfg, DATASETS, default_args)
File "/home/zhangyu/s2anet/mmdet/utils/registry.py", line 76, in build_from_cfg
return obj_cls(**args)
File "/home/zhangyu/s2anet/mmdet/datasets/custom.py", line 64, in init
self.img_infos = self.load_annotations(self.ann_file)
File "/home/zhangyu/s2anet/mmdet/datasets/custom.py", line 85, in load_annotations
return mmcv.load(ann_file)
File "/home/zhangyu/anaconda3/envs/s2anet/lib/python3.7/site-packages/mmcv/fileio/io.py", line 40, in load
obj = handler.load_from_path(file, **kwargs)
File "/home/zhangyu/anaconda3/envs/s2anet/lib/python3.7/site-packages/mmcv/fileio/handlers/pickle_handler.py", line 13, in load_from_path
filepath, mode='rb', **kwargs)
File "/home/zhangyu/anaconda3/envs/s2anet/lib/python3.7/site-packages/mmcv/fileio/handlers/base.py", line 21, in load_from_path
with open(filepath, mode) as f:
FileNotFoundError: [Errno 2] No such file or directory: 'data/dota_1024/test_split/test_s2anet.pkl'
my input is python demo/demo_inference.py configs/dota/s2anet_r50_fpn_1x_dota.py checkpoints/s2anet_r50_fpn_1x_converted-11c9c5f4.pth data/P0706.jpg result/result1.jpg
The text was updated successfully, but these errors were encountered: