DCNv2编译过程报错:error: identifier "THCudaBlas_SgemmBatched" is undefined


解决方法:

将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及以上版本编译报错解决方法


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM