Closed fina1e closed 5 years ago
At main, the Parameter of pretrain should be instead:
elif args.mode == 'pretrain': model = training_functions.pretraining(model, dataloader, criteria, optimizers, schedulers, epochs, params)
either indexed at passing or at pretrain:
model = training_functions.pretraining(model, dataloader1,dataloader2, criteria[0], optimizers[1], schedulers[1], epochs, params)
Changed in last commit. Thanks
At main, the Parameter of pretrain should be instead:
either indexed at passing or at pretrain: