2860e37da4e0b1335f25fcb0f62ab2d81698c752,examples/_tests_mnist_stages2/experiment.py,Experiment,get_datasets,#Experiment#Any#,19

Before Change


            download=True,
            transform=Experiment.get_transforms(mode="train", stage=stage)
        )
        testset = torchvision.datasets.MNIST(
            "./data",
            train=False,
            download=True,
            transform=Experiment.get_transforms(mode="train", stage=stage)
        )

        datasets["train"] = trainset
        datasets["valid"] = testset

After Change


    def get_datasets(self, stage: str, **kwargs):
        datasets = OrderedDict()
        for mode in ("train", "valid"):
            datasets[mode] = MNIST(
                "./data",
                train=False,
                download=True,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: Scitator/catalyst
Commit Name: 2860e37da4e0b1335f25fcb0f62ab2d81698c752
Time: 2020-01-23
Author: 19803638+bagxi@users.noreply.github.com
File Name: examples/_tests_mnist_stages2/experiment.py
Class Name: Experiment
Method Name: get_datasets


Project Name: BindsNET/bindsnet
Commit Name: ea09d1fd36b347bc86cbc52de8ea39ffbeb24dc1
Time: 2019-06-21
Author: hananel@hazan.org.il
File Name: examples/mnist/reservoir.py
Class Name:
Method Name: