FakeDataset

class olympus.datasets.fake.FakeDataset(input_shape, target_shape, train_size=1024, valid_size=128, test_size=128, data_path=None)[source]

Bases: olympus.datasets.dataset.AllDataset

Generate random tensors as input data

Attributes:
classes

Return the mapping between samples index and their class

collate_fn
dataset
input_shape

Return the size of the samples

target_shape

Return the size of the target

test_size

Size of the test set

train_size

Size of the training set

valid_size

Size of the validation set

Methods

categories() Dataset tags so we can filter what we want depending on the task
transforms()
register_datapipe_as_function  
register_function  
olympus.datasets.fake.default_transform()[source]