Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

colab tutorial import error #1763

Closed
alex7008uk opened this issue Jul 13, 2022 · 5 comments
Closed

colab tutorial import error #1763

alex7008uk opened this issue Jul 13, 2022 · 5 comments
Assignees

Comments

@alex7008uk
Copy link

Checklist

  1. I have searched related issues but cannot get the expected help.
  2. The bug has not been fixed in the latest version.

Describe the bug
Can't run the colab tutorial
image

@MeowZheng
Copy link
Collaborator

Many thanks for your bug report, we are working on fixing it.

@hartvq37
Copy link

Install the latest mmcv with 1.12 torch version works for me, but building wheels took a very long time to finish.

Install PyTorch

!conda install pytorch=1.10.0 torchvision cudatoolkit=11.1 -c pytorch

Install MMCV

#!pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu111/torch1.10/index.html
!pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu111/torch1.12.0/index.html

@zhouzaida
Copy link

Install the latest mmcv with 1.12 torch version works for me, but building wheels took a very long time to finish.

Install PyTorch

!conda install pytorch=1.10.0 torchvision cudatoolkit=11.1 -c pytorch

Install MMCV

#!pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu111/torch1.10/index.html !pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu111/torch1.12.0/index.html

Hi, PyTorch dose not provide pre-built packages for torch1.12-cu111 (https://download.pytorch.org/whl/torch_stable.html).

The recommended way to install mmcv-full is to use openmim:

pip install -U openmim
mim install mmcv-full

@zhouzaida
Copy link

Checklist

  1. I have searched related issues but cannot get the expected help.
  2. The bug has not been fixed in the latest version.

Describe the bug Can't run the colab tutorial image

Hi, you can install mmcv-full via openmim

pip install -U openmim
mim install mmcv-full

@xiexinch
Copy link
Collaborator

Hi @alex7008uk,
I create a new PR to solve the installation problem, you might take a look.

aravind-h-v pushed a commit to aravind-h-v/mmsegmentation that referenced this issue Mar 27, 2023
wjkim81 pushed a commit to wjkim81/mmsegmentation that referenced this issue Dec 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants