Skip to content

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

@maizer2

Description

@maizer2

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')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions