Closed wzhuo2022 closed 2 months ago
$ conda create --name openmmlab python=3.8 -y
$ conda activate openmmlab
Check the version requirements of MMCV in ./mmdet/__init__.py
, and then go to [Install MMCV - MMCV 1.5.0 Documentation] (https://mmcv.readthedocs.io/zh-cn/v1.5.0/get_started/installation.html) here to check the comparison between the corresponding version and pytorch(This link points to mmcv=1.5, and you can also select a different version in the bottom left corner of the page), Find the version of PyTorch that suits you, and then go to the official website of PyTorch to download it.
$ conda install pytorch==1.11.0 torchvision==0.12.0 torchaudio==0.11.0 cudatoolkit=11.3 -c pytorch
$ pip install mmcv-full==1.5.0 -f https://download.openmmlab.com/mmcv/dist/cu113/torch1.11.0/index.html
$ cd PPAL
$ python setup.py install
$ python setup.py install
$ pip install yapf==0.40.1
$ pip uninstall numpy
$ python -m pip install numpy==1.23.1
I noticed that the mmcv requirement in the project file is >=1.3.17, \<1.5.0. When I installed mmcv according to the official website, all versions were >=2.0.0. I searched the historical versions and could only find versions >=2.0.0. Can you provide any help? How can I find the matching version?