You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Skip the download of raw dataset if exists and just extract and convert.
Motivation
Reduce the download of datasets as possible.
Pitch
This will not be a new feature nor a big change.
Currently, some torchvision datasets download the raw datasets (e.g. MNIST) before extract and convert them to appropriate formats, e.g. (train/test).pt for MNIST dataset if download argument is True.
I misunderstood this option that if there exists a raw dataset, torchvision skips the download of raw data and only extracts and converts the raw dataset. But, actually, the criterion of skipping the download process is whether or not there exist the PyTorch files as follows.
Uh oh!
There was an error while loading. Please reload this page.
🚀 Feature
Skip the download of raw dataset if exists and just extract and convert.
Motivation
Reduce the download of datasets as possible.
Pitch
This will not be a new feature nor a big change.
Currently, some torchvision datasets download the raw datasets (e.g. MNIST) before extract and convert them to appropriate formats, e.g.
(train/test).pt
for MNIST dataset ifdownload
argument isTrue
.I misunderstood this option that if there exists a raw dataset, torchvision skips the download of raw data and only extracts and converts the raw dataset. But, actually, the criterion of skipping the download process is whether or not there exist the PyTorch files as follows.
vision/torchvision/datasets/mnist.py
Lines 134 to 138 in 240792d
And the below diff is the sketch of my proposal (not thoroughly validated).
Alternatives
Additional context
cc @pmeier
The text was updated successfully, but these errors were encountered: