445e7e0b74495326ef6f90f238d16513a437d797,test/retiarii_test/darts/test.py,,,#,13
Before Change
if __name__ == "__main__":
base_model = CNN(32, 3, 16, 10, 8)
trainer = PyTorchImageClassificationTrainer(base_model, dataset_cls="CIFAR10",
dataset_kwargs={"root": "data/cifar10", "download": True},
dataloader_kwargs={"batch_size": 32},
optimizer_kwargs={"lr": 1e-3},
trainer_kwargs={"max_epochs": 1})
//simple_startegy = TPEStrategy()
simple_startegy = RandomStrategy()
After Change
transforms.ToTensor(),
transforms.Normalize((0.4914, 0.4822, 0.4465), (0.2023, 0.1994, 0.2010)),
])
valid_transform = transforms.Compose([
transforms.ToTensor(),
transforms.Normalize((0.4914, 0.4822, 0.4465), (0.2023, 0.1994, 0.2010)),
])
train_dataset = bm(CIFAR10)(root="data/cifar10", train=True, download=True, transform=train_transform)
test_dataset = bm(CIFAR10)(root="data/cifar10", train=False, download=True, transform=valid_transform)
trainer = pl.Classification(train_dataloader=pl.DataLoader(train_dataset, batch_size=100),
val_dataloaders=pl.DataLoader(test_dataset, batch_size=100),
max_epochs=1, limit_train_batches=0.2)
simple_startegy = RandomStrategy()
exp = RetiariiExperiment(base_model, trainer, [], simple_startegy)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 20
Instances
Project Name: Microsoft/nni
Commit Name: 445e7e0b74495326ef6f90f238d16513a437d797
Time: 2021-02-14
Author: Yuge.Zhang@microsoft.com
File Name: test/retiarii_test/darts/test.py
Class Name:
Method Name:
Project Name: Microsoft/nni
Commit Name: 445e7e0b74495326ef6f90f238d16513a437d797
Time: 2021-02-14
Author: Yuge.Zhang@microsoft.com
File Name: test/retiarii_test/mnist/test.py
Class Name:
Method Name:
Project Name: Microsoft/nni
Commit Name: 445e7e0b74495326ef6f90f238d16513a437d797
Time: 2021-02-14
Author: Yuge.Zhang@microsoft.com
File Name: test/retiarii_test/darts/test.py
Class Name:
Method Name:
Project Name: Microsoft/nni
Commit Name: 445e7e0b74495326ef6f90f238d16513a437d797
Time: 2021-02-14
Author: Yuge.Zhang@microsoft.com
File Name: test/retiarii_test/mnasnet/test.py
Class Name:
Method Name: