RuntimeError:Found 0 files in subfolders of:/home/PVT/datasets01/imagenet_full_size/061417/train Supported extensions are: .jpg,.jpeg,.png,.ppm,.bmp,.pgm,.tif,.tiff,.webp2023-10-18 18:34:46 报错原因:这个错误一般发生在调用torchvision.datasets.ImageFolder训练模型读取数据时,主要原因是数据存储路径与数据读取路径不一致。 解决方法: 路径改为一致 RuntimeError:Found 0 files in subfolders of:/home/PVT/datasets01/imagenet_full_size/061417/train Supported extensions are: .jpg,.jpeg,.png,.ppm,.bmp,.pgm,.tif,.tiff,.webp上一篇:webpackage.config.js下一篇:CSS(二)