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