ultralytics/yolov5/master/requirements.txtERROR: No matching distribution found for torchvision>=0.8.1 需要更新版本的torchvision (?)。pip show torchvision
Version: 0.2.
我试图在我的Ubuntu18.04LTS机器上通过一个,在导入torchvision模块时遇到这个错误: File "class.py", line 2, in <module> File "/home/drubbels/anaconda3/lib/python3.7/site-packages/torchvi
导入torchvision时出现以下错误。Detected that PyTorch and torchvision were compiled with different CUDA versions.PyTorch has CUDA Version=11.0 and torchvision has CUDA Version=10.1.Please reinstall the torchvision that matches your PyTorch install. 如何将pytorch的cuda版本改为10.1?‘&
继上一个之后,我现在正在尝试实现torchvision.datasets.ImageFolder类的一个子类。class ExtendingImageFolder(torchvision.datasets.ImageFolder)当我删除"None“和"default_loader”时,写成这样;
class ExtendingImageFolder(torchvision