open-mmlab / mmfashion

Open-source toolbox for visual fashion analysis based on PyTorch
https://open-mmlab.github.io/
Apache License 2.0
1.27k stars 283 forks source link

OSError: ~ is not a checkpoint file #93

Closed BitnaKeum closed 4 years ago

BitnaKeum commented 4 years ago

Hello. I want to run this program but I have some problems. I'm using the GPU in Google colaboratory.

According to "GETTING_STARTED.md", I'm trying to test an attribute predictor by this code. python demo/test_attr_predictor.py --input demo/imgs/attr_pred_demo1.jpg

But when running this code, an error about wrong path occurs.
capture In mmfashion/demo/test_attr_predictor.py, line 29, I think, 'attribute_predict' should be changed to 'attribute_predict_coarse'.


Although I have changed the code, another error occurs. image

When I run other code, the same OSError occurs. image

What's the matter? and how can I solve this problem? I need your help! Thank you.

Lytua commented 4 years ago

@BitnaKeum Have you solved this problem?