Open kalai2033 opened 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
!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