解决方法:

将pytorch版本降为1.7.0;

# 先卸载原有的torch和torchvision

pip uninstall torch
pip uninstall torchvision

# 安装pytorh1.7.0

pip install torch==1.7.0+cu110 torchvision==0.8.1+cu110 -f https://download.pytorch.org/whl/torch_stable.html

再重新编译。

参考:DCNv2+pytorch1.7及以上版本编译报错解决方法

相关文章:

  • 2022-01-07
  • 2022-12-23
  • 2021-06-04
  • 2021-06-06
  • 2021-09-10
  • 2021-10-05
  • 2022-01-07
  • 2021-10-19
猜你喜欢
  • 2021-05-24
  • 2021-04-11
  • 2022-03-09
  • 2021-08-28
  • 2022-12-23
  • 2022-12-23
  • 2021-12-11
相关资源
相似解决方案