Created
April 17, 2019 16:58
-
-
Save tinhb92/66f53b99f577d8d06af4343de5798e50 to your computer and use it in GitHub Desktop.
train search learner
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| learn = Learner(dat, DartsRnnSearch(), | |
| opt_func = torch.optim.SGD, | |
| callback_fns = [ | |
| HidInit, | |
| partial(ArchParamUpdate, search_dat=search_dat, | |
| arch_lr=arch_lr, arch_wdecay=arch_wdecay, wdecay=wdecay), | |
| Regu, | |
| PrintGenotype, | |
| partial(GradientClipping, clip=clip), | |
| partial(CSVLogger, filename = csv_name, append = True), | |
| GcCol, | |
| # partial(ResumeModel, name = resume_model) | |
| ], | |
| wd = wdecay | |
| ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment