PyTorch ImageNet Dataset: Manual Download & Preparation Required
Starting from PyTorch version 1.6.0, the automatic download of the ImageNet dataset is no longer supported. Previously, PyTorch used to automatically download the ImageNet dataset and store it in a directory called "imagenet" which contained a file called "meta.bin". However, this behavior has changed.
If you want to use the ImageNet dataset, you will need to manually download and prepare the dataset yourself. You can find instructions on how to download and preprocess the ImageNet dataset on the official ImageNet website.
Once you have downloaded and prepared the dataset, you can use it in PyTorch by specifying the path to the dataset directory when loading the data using functions like torchvision.datasets.ImageFolder.
原文地址: https://www.cveoy.top/t/topic/pKnN 著作权归作者所有。请勿转载和采集!