Skip to content

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

"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