Blade6570 / Learningimage-to-imagetranslationusingpairedandunpairedtrainingsamples

Learning image-to-image translation using paired and unpaired training samples
https://tutvision.github.io/Learning-image-to-image-translation-using-paired-and-unpaired-training-samples/
Other
20 stars 3 forks source link

Getting this error message while trying pix2pix mode #2

Open kalai2033 opened 4 years ago

kalai2033 commented 4 years ago

!python train.py --dataroot ./datasets --model pix2pix --dataset_mode aligned --which_model_netG resnet_9blocks --which_direction AtoB --super_epoch 50 --super_epoch_start 0 --super_mode aligned --super_start 1 --name mygan_70 --no_dropout

Traceback (most recent call last): File "train.py", line 39, in model.optimize_parameters(opt) TypeError: optimize_parameters() takes 1 positional argument but 2 were given