首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Detectron2教程- torch版本1.11不能与Detectron2版本0.6对抗

Detectron2教程- torch版本1.11不能与Detectron2版本0.6对抗
EN

Stack Overflow用户
提问于 2022-05-06 00:01:30
回答 1查看 552关注 0票数 0

在尝试运行Detectron2教程时,我出错了,因为torch 1.11与Detectron2版本0.6不兼容

解决方案:添加:!pip安装torch==1.10.0+cu111 torchvision==0.11.1+cu111 torchaudio===0.10.0+cu111 -f https://download.pytorch.org/whl/cu111/torch_stable.html,然后更改:!pip install torch==1.10.0+cu111 torchvision==0.11.1+cu111 torchaudio===0.10.0+cu111 -f https://download.pytorch.org/whl/cu111/torch_stable.html to:!pip install detectron2 -f https://dl.fbaipublicfiles.com/detectron2/wheels/cu111/torch1.10/index.html

EN

回答 1

Stack Overflow用户

发布于 2022-05-06 00:02:50

解决方案:添加:!pip安装torch==1.10.0+cu111 torchvision==0.11.1+cu111 torchaudio===0.10.0+cu111 -f https://download.pytorch.org/whl/cu111/torch_stable.html,然后更改:!pip install torch==1.10.0+cu111 torchvision==0.11.1+cu111 torchaudio===0.10.0+cu111 -f https://download.pytorch.org/whl/cu111/torch_stable.html to:!pip install detectron2 -f https://dl.fbaipublicfiles.com/detectron2/wheels/cu111/torch1.10/index.html

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/72134785

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档