update codes

This commit is contained in:
D-X-Y 2019-02-01 04:05:09 +11:00
parent 65d9c1c57f
commit 3353391891

View File

@ -222,8 +222,8 @@ def main():
print_log('Finish with training time = {:}'.format( convert_secs2time(total_train_time, True) ), log) print_log('Finish with training time = {:}'.format( convert_secs2time(total_train_time, True) ), log)
# clear GPU cache # clear GPU cache
torch.cuda.empty_cache() #torch.cuda.empty_cache()
main_procedure(config, 'cifar10', os.environ['TORCH_HOME'] + '/cifar.python', args, basemodel.genotype(), 36, 20, log) #main_procedure(config, 'cifar10', os.environ['TORCH_HOME'] + '/cifar.python', args, basemodel.genotype(), 36, 20, log)
log.close() log.close()