No such file or directory: 'result/50_65.pkl'
Opened this issue · 0 comments
when i run 'python tools/test.py city_cfgs/mgan_50_65.py models/50_65.pth --out result/50_65.pkl ' to test ,there is an error like this:
loading annotations into memory...
Done (t=0.00s)
creating index...
index created!
[>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>] 500/500, 7.6 task/s, elapsed: 66s, ETA: 0sTraceback (most recent call last):
File "tools/test.py", line 186, in
main()
File "tools/test.py", line 181, in main
mmcv.dump(outputs, args.out)
File "/home/ldmc/lm/anaconda3/envs/mmdetection/lib/python3.7/site-packages/mmcv/fileio/io.py", line 80, in dump
handler.dump_to_path(obj, file, **kwargs)
File "/home/ldmc/lm/anaconda3/envs/mmdetection/lib/python3.7/site-packages/mmcv/fileio/handlers/pickle_handler.py", line 26, in dump_to_path
obj, filepath, mode='wb', **kwargs)
File "/home/ldmc/lm/anaconda3/envs/mmdetection/lib/python3.7/site-packages/mmcv/fileio/handlers/base.py", line 24, in dump_to_path
with open(filepath, mode) as f:
FileNotFoundError: [Errno 2] No such file or directory: 'result/50_65.pkl'
I found in the link baiduyun there is just a file '50_65.pth' and the '50_65.pkl' is not given , so can you give the link of '50_65.pkl' ?
thank you very much!