一、问题
UserWarning: Failed to load image Python extension: '[WinError 127] 找不到指定的程序。'If you don’t plan on using image functionality from torchvision.io
, you can ignore this warning. Otherwise, there might be something wrong with your environment. Did you have libjpeg
or libpng
installed before building torchvision
from source?
warn(
二、解决方法
torch 和 torchvision匹配问题