解決方法:
將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
再重新編譯。
解決方法:
將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
再重新編譯。
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。