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

Error when running setup.py #152

Open TomPlt opened 1 year ago

TomPlt commented 1 year ago

I get this error when running python setup.py install:

SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer. warnings.warn(WARNING: The wheel package is not available.)

Does Anybody know how to resolve it?

waterworld8 commented 5 months ago

I ended up setting up the environment myself by guessing the best versions from the project's release time:

conda create -n mmfashion2 -c conda-forge --strict-channel-priority python=3.6 conda activate mmfashion2 pip install mmcv==0.6.2 pip install torch==1.8.1+cu101 torchvision==0.9.1+cu101 torchaudio==0.8.1 -f https://download.pytorch.org/whl/torch_stable.html conda install -c conda-forge scikit-image conda install -c conda-forge scikit-learn conda install matplotlib pip install flake8 pip install isort pip install yapf

But no, the prediction outputs are wrong due to mismatched model size. I'm moving on.