baaivision / EVA

EVA Series: Visual Representation Fantasies from BAAI
MIT License
2.32k stars 167 forks source link

Exact package versions used for the EVA training #171

Open eypros opened 1 week ago

eypros commented 1 week ago

I am trying to install EVA (for using EVA 2 probably) but unfortunately, I cannot even pass the dependencies.

Since you are mentioning xformers in the dependencies can you specify the exact version you used since passing for example: pip install torch==1.12.1+cu116 torchvision==0.13.1+cu116 mmcv-full xformers --extra-index-url https://download.pytorch.org/whl/cu116

gives an error:

ERROR: HTTP error 403 while getting https://download.pytorch.org/whl/xformers-0.0.22.post4-cp310-cp310-manylinux2014_x86_64.whl (from https://download.pytorch.org/whl/cu116/xformers/) ERROR: Could not install requirement xformers from https://download.pytorch.org/whl/xformers-0.0.22.post4-cp310-cp310-manylinux2014_x86_64.whl because of HTTP error 403 Client Error: Forbidden for url: https://download.pytorch.org/whl/xformers-0.0.22.post4-cp310-cp310-manylinux2014_x86_64.whl for URL https://download.pytorch.org/whl/xformers-0.0.22.post4-cp310-cp310-manylinux2014_x86_64.whl (from https://download.pytorch.org/whl/cu116/xformers/)

I used the above formation in order to get a compatible version of xfromers and mmcv which does not seem to work if just install the latest version.

I think I found a version of xformers which can be installed (they remove old version from the pipy repo and thus it's difficult to install whatever version you want) using:


pip install xformers torch==1.13.1 mmcv==1.4.1 mmcv-full torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu118
pip install mmsegmentation==0.29.1

Can you share the exact versions of the packages you used to make it work? The latest error I am getting is this one by the way:

AssertionError: top_pool_forward miss in module _ext