445e7e0b74495326ef6f90f238d16513a437d797,test/retiarii_test/mnasnet/test.py,,,#,14
Before Change
trainer_kwargs={"max_epochs": 1})
// new interface
applied_mutators = []
applied_mutators.append(BlockMutator("mutable_0"))
applied_mutators.append(BlockMutator("mutable_1"))
simple_startegy = TPEStrategy()
After Change
base_model = MNASNet(0.5, _DEFAULT_DEPTHS, _DEFAULT_CONVOPS, _DEFAULT_KERNEL_SIZES,
_DEFAULT_NUM_LAYERS, _DEFAULT_SKIPS)
train_transform = transforms.Compose([
transforms.RandomCrop(32, padding=4),
transforms.RandomHorizontalFlip(),
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)),
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
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:
Project Name: layumi/Person_reID_baseline_pytorch
Commit Name: 4c0f75f182ccdf506fd0c1fb9b51193764fcdd53
Time: 2018-04-24
Author: Zhedong.Zheng@student.uts.edu.au
File Name: train.py
Class Name:
Method Name:
Project Name: biolab/orange3
Commit Name: da91013acbbe0fc8b3e3efaad9156bdba7b67b3e
Time: 2015-06-12
Author: tankovesna@hotmail.com
File Name: Orange/classification/svm.py
Class Name:
Method Name: