@@ -19,11 +19,11 @@ class MNIST(VisionDataset):
19
19
"""`MNIST <http://yann.lecun.com/exdb/mnist/>`_ Dataset.
20
20
21
21
Args:
22
- root (string): Root directory of dataset where ``MNIST/processed/training.pt ``
23
- and ``MNIST/processed/test.pt `` exist.
24
- train (bool, optional): If True, creates dataset from ``training.pt ``,
25
- otherwise from ``test.pt ``.
26
- download (bool, optional): If true , downloads the dataset from the internet and
22
+ root (string): Root directory of dataset where ``MNIST/raw/train-images-idx3-ubyte ``
23
+ and ``MNIST/raw/t10k-images-idx3-ubyte `` exist.
24
+ train (bool, optional): If True, creates dataset from ``train-images-idx3-ubyte ``,
25
+ otherwise from ``t10k-images-idx3-ubyte ``.
26
+ download (bool, optional): If True , downloads the dataset from the internet and
27
27
puts it in root directory. If dataset is already downloaded, it is not
28
28
downloaded again.
29
29
transform (callable, optional): A function/transform that takes in an PIL image
@@ -201,11 +201,11 @@ class FashionMNIST(MNIST):
201
201
"""`Fashion-MNIST <https://github.com/zalandoresearch/fashion-mnist>`_ Dataset.
202
202
203
203
Args:
204
- root (string): Root directory of dataset where ``FashionMNIST/processed/training.pt ``
205
- and ``FashionMNIST/processed/test.pt `` exist.
206
- train (bool, optional): If True, creates dataset from ``training.pt ``,
207
- otherwise from ``test.pt ``.
208
- download (bool, optional): If true , downloads the dataset from the internet and
204
+ root (string): Root directory of dataset where ``FashionMNIST/raw/train-images-idx3-ubyte ``
205
+ and ``FashionMNIST/raw/t10k-images-idx3-ubyte `` exist.
206
+ train (bool, optional): If True, creates dataset from ``train-images-idx3-ubyte ``,
207
+ otherwise from ``t10k-images-idx3-ubyte ``.
208
+ download (bool, optional): If True , downloads the dataset from the internet and
209
209
puts it in root directory. If dataset is already downloaded, it is not
210
210
downloaded again.
211
211
transform (callable, optional): A function/transform that takes in an PIL image
@@ -229,11 +229,11 @@ class KMNIST(MNIST):
229
229
"""`Kuzushiji-MNIST <https://github.com/rois-codh/kmnist>`_ Dataset.
230
230
231
231
Args:
232
- root (string): Root directory of dataset where ``KMNIST/processed/training.pt ``
233
- and ``KMNIST/processed/test.pt `` exist.
234
- train (bool, optional): If True, creates dataset from ``training.pt ``,
235
- otherwise from ``test.pt ``.
236
- download (bool, optional): If true , downloads the dataset from the internet and
232
+ root (string): Root directory of dataset where ``KMNIST/raw/train-images-idx3-ubyte ``
233
+ and ``KMNIST/raw/t10k-images-idx3-ubyte `` exist.
234
+ train (bool, optional): If True, creates dataset from ``train-images-idx3-ubyte ``,
235
+ otherwise from ``t10k-images-idx3-ubyte ``.
236
+ download (bool, optional): If True , downloads the dataset from the internet and
237
237
puts it in root directory. If dataset is already downloaded, it is not
238
238
downloaded again.
239
239
transform (callable, optional): A function/transform that takes in an PIL image
@@ -257,14 +257,14 @@ class EMNIST(MNIST):
257
257
"""`EMNIST <https://www.westernsydney.edu.au/bens/home/reproducible_research/emnist>`_ Dataset.
258
258
259
259
Args:
260
- root (string): Root directory of dataset where ``EMNIST/processed/training.pt ``
261
- and ``EMNIST/processed/test.pt `` exist.
260
+ root (string): Root directory of dataset where ``EMNIST/raw/train-images-idx3-ubyte ``
261
+ and ``EMNIST/raw/t10k-images-idx3-ubyte `` exist.
262
262
split (string): The dataset has 6 different splits: ``byclass``, ``bymerge``,
263
263
``balanced``, ``letters``, ``digits`` and ``mnist``. This argument specifies
264
264
which one to use.
265
265
train (bool, optional): If True, creates dataset from ``training.pt``,
266
266
otherwise from ``test.pt``.
267
- download (bool, optional): If true , downloads the dataset from the internet and
267
+ download (bool, optional): If True , downloads the dataset from the internet and
268
268
puts it in root directory. If dataset is already downloaded, it is not
269
269
downloaded again.
270
270
transform (callable, optional): A function/transform that takes in an PIL image
@@ -341,8 +341,8 @@ class QMNIST(MNIST):
341
341
"""`QMNIST <https://github.com/facebookresearch/qmnist>`_ Dataset.
342
342
343
343
Args:
344
- root (string): Root directory of dataset whose ``processed ``
345
- subdir contains torch binary files with the datasets.
344
+ root (string): Root directory of dataset whose ``raw ``
345
+ subdir contains binary files of the datasets.
346
346
what (string,optional): Can be 'train', 'test', 'test10k',
347
347
'test50k', or 'nist' for respectively the mnist compatible
348
348
training set, the 60k qmnist testing set, the 10k qmnist
@@ -354,7 +354,7 @@ class QMNIST(MNIST):
354
354
for each example is class number (for compatibility with
355
355
the MNIST dataloader) or a torch vector containing the
356
356
full qmnist information. Default=True.
357
- download (bool, optional): If true , downloads the dataset from
357
+ download (bool, optional): If True , downloads the dataset from
358
358
the internet and puts it in root directory. If dataset is
359
359
already downloaded, it is not downloaded again.
360
360
transform (callable, optional): A function/transform that
0 commit comments