edflow.datasets.fashionmnist module

Reference

edflow.datasets.fashionmnist.read_mnist_file(path)[source]
class edflow.datasets.fashionmnist.FashionMNIST(config=None)[source]

Bases: edflow.data.dataset_mixin.DatasetMixin

NAME = 'FashionMNIST'
URL = 'http://fashion-mnist.s3-website.eu-central-1.amazonaws.com/'
FILES = {'TEST_DATA': 't10k-images-idx3-ubyte.gz', 'TEST_LABELS': 't10k-labels-idx1-ubyte.gz', 'TRAIN_DATA': 'train-images-idx3-ubyte.gz', 'TRAIN_LABELS': 'train-labels-idx1-ubyte.gz'}
__init__(config=None)[source]

Initialize self. See help(type(self)) for accurate signature.

get_example(i)[source]

Note

Please the documentation of DatasetMixin to not be confused.

Add default behaviour for datasets defining an attribute data, which in turn is a dataset. This happens often when stacking several datasets on top of each other.

The default behaviour now is to return self.data.get_example(idx) if possible, and otherwise revert to the original behaviour.

class edflow.datasets.fashionmnist.FashionMNISTTrain(config=None)[source]

Bases: edflow.datasets.fashionmnist.FashionMNIST

class edflow.datasets.fashionmnist.FashionMNISTTest(config=None)[source]

Bases: edflow.datasets.fashionmnist.FashionMNIST