Hello,
I'm a student on stage in Prof. Jeffery Cardille's lab at McGill, and we're trying to run this AI model on our own computer. When I was trying out the Flood Segmentation, the package mmcv is required, and I tried different ways to install the package but always get the error: Failed building wheel for mmcv, and here are my torch and cuda version:
!python -c 'import torch;print(torch.__version__);print(torch.version.cuda)'
2.2.1+cu121
12.1
and some approaches that I tried:
!pip install -U openmim
-
!mim install mmcv==2.0.0 -f https://download.openmmlab.com/mmcv/dist/cu121/torch2.2.1/index.html
-
!mim install mmcv-full
-
!pip install mmcv==2.1.0 -f https://download.openmmlab.com/mmcv/dist/cu121/torch2.1/index.html
-
git clone https://github.com/open-mmlab/mmcv.git
cd mmcv
pip install -r requirements/optional.txt
MMCV_WITH_OPS=1 pip install -e .
python .dev_scripts/check_installation.py
Thank you!
Hello,
I'm a student on stage in Prof. Jeffery Cardille's lab at McGill, and we're trying to run this AI model on our own computer. When I was trying out the Flood Segmentation, the package mmcv is required, and I tried different ways to install the package but always get the error: Failed building wheel for mmcv, and here are my torch and cuda version:
!python -c 'import torch;print(torch.__version__);print(torch.version.cuda)'2.2.1+cu121
12.1
and some approaches that I tried:
!pip install -U openmim!mim install mmcv==2.0.0 -f https://download.openmmlab.com/mmcv/dist/cu121/torch2.2.1/index.html!mim install mmcv-full!pip install mmcv==2.1.0 -f https://download.openmmlab.com/mmcv/dist/cu121/torch2.1/index.htmlgit clone https://github.com/open-mmlab/mmcv.gitcd mmcvpip install -r requirements/optional.txtMMCV_WITH_OPS=1 pip install -e .python .dev_scripts/check_installation.pyThank you!