liyunsheng13 / BDL

MIT License
222 stars 30 forks source link

AttributeError: 'NotImplementedError' object has no attribute 'step' #23

Open jn-z opened 4 years ago

jn-z commented 4 years ago

Hi. I have some questions about the training of CycleGAN with perception loss. When I trained for the second round, the terminal made the following mistake: scheduler.step() AttributeError: 'NotImplementedError' object has no attribute 'step' Can you help me? My choice of learning rate model is: --lr_policy = linear Thank you.

liyunsheng13 commented 4 years ago

Please use the default parameters. The change I made is only --resize_or_crop, scale_width_and_crop --niter 10 --niter_decay 10, --loadSize 1024 --fineSize 452, --lambda_semantic_A 1 --lambda_semantic_B 1