FileNotFoundError: file "/mmfashion/configs/attribute_predict/global_predictor_vgg_attr.py" does not exist
maizer2 opened this issue · 0 comments
maizer2 commented
python demo/test_attr_predictor.py --input demo/imgs/attr_pred_demo1.jpg
Traceback (most recent call last):
File "demo/test_attr_predictor.py", line 62, in <module>
main()
File "demo/test_attr_predictor.py", line 38, in main
cfg = Config.fromfile(args.config)
File "/opt/conda/lib/python3.7/site-packages/mmcv/utils/config.py", line 341, in fromfile
use_predefined_variables)
File "/opt/conda/lib/python3.7/site-packages/mmcv/utils/config.py", line 183, in _file2dict
check_file_exist(filename)
File "/opt/conda/lib/python3.7/site-packages/mmcv/utils/path.py", line 23, in check_file_exist
raise FileNotFoundError(msg_tmpl.format(filename))
FileNotFoundError: file "/mmfashion/configs/attribute_predict/global_predictor_vgg_attr.py" does not exist
change '/mmfashion/demo/test_attr_predictor.py' file 29 line
# default='configs/attribute_predict/global_predictor_vgg_attr.py')
default='configs/attribute_predict_coarse/global_predictor_vgg_attr.py')