from torchvision import transforms
出现报错
D:anacondaenvsPyTorchlibsite-packagestorchvisionioimage.py:11: UserWarning: Failed to load image Python extension: Could not find module 'D:anacondaenvsPyTorchLibsite-packagestorchvisionimage.pyd' (or one of its dependencies). Try using the full path with constructor syntax. warn(f"Failed to load image Python extension: {e}")
网上查到是版本不对, 直接
pip uninstall torchvision
然后
pip install torchvision
神龙|纯净稳定代理IP免费测试>>>>>>>>天启|企业级代理IP免费测试>>>>>>>>IPIPGO|全球住宅代理IP免费测试