09-17 16:42
Notice
Recent Posts
Recent Comments
반응형
관리 메뉴

BAN2ARU

[Python] ERROR: No matching distribution found for torchvision==0.8.0+cu110 본문

Language/Python

[Python] ERROR: No matching distribution found for torchvision==0.8.0+cu110

밴나루 2022. 5. 9. 19:39

https://pytorch.org/get-started/previous-versions/

 

PyTorch

An open source machine learning framework that accelerates the path from research prototyping to production deployment.

pytorch.org

여기에서는 pytorch 1.7.0의 cuda 11.0 ver에 관해서

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

로 되어있지만 이 문구를 실행하면

ERROR: No matching distribution found for torchvision==0.8.0+cu110

와 같은 오류가 발생한다. 이를 다음고 같이 torchvision을 0.8.1로 수정하면 된다.

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

0.8.0ver에서 생긴 오류로 0.8.1ver에서 오류가 해결되어 잘 동작한다고 한다.

 

-Reference

https://github.com/pytorch/vision/issues/2912

728x90
Comments