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

[Fix] Fix colab mmcv installation #1779

Merged
merged 3 commits into from
Jul 15, 2022
Merged

Conversation

xiexinch
Copy link
Collaborator

Motivation

#1763

Modification

  • Install PyTorch through pip
  • Install mmcv-full through mim
  • Use mmseg.utils.get_device() method to set cfg.device

@@ -67,9 +67,10 @@
"outputs": [],
"source": [
"# Install PyTorch\n",
"!conda install pytorch=1.10.0 torchvision cudatoolkit=11.1 -c pytorch\n",
"!pip install torch torchvision\n",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix pytorch version 1.12

@MeowZheng MeowZheng merged commit 336435b into open-mmlab:master Jul 15, 2022
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

Successfully merging this pull request may close these issues.

2 participants