Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FileNotFoundError: file "/mmfashion/configs/attribute_predict/global_predictor_vgg_attr.py" does not exist #150

Open
maizer2 opened this issue Aug 31, 2022 · 0 comments

Comments

@maizer2
Copy link

maizer2 commented Aug 31, 2022

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')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant