open-mmlab / mmfashion

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

No module named 'mmfashion' #158

Open Parthkh28 opened 1 year ago

Parthkh28 commented 1 year ago

from mmfashion.core import AttrPredictor ModuleNotFoundError: No module named 'mmfashion'

waterworld8 commented 5 months ago

Running "export PYTHONPATH="${PYTHONPATH}:/[put your path here]/mmfashion/" in the terminal before calling the Python demo files should work.

However, the demo code didn't give correct prediction results due to a model size mismatch between the downloaded model and the spec in the code. I will find another codebase to work on.