IyatomiLab / LeafGAN

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AttributeError: 'NoneType' object has no attribute 'parameters'

LaoGanGitHub opened this issue · comments

hello,i try to train you network ,but But there is a problem with the parameters of optimizer , can you you help me,Thx
image

@LaoGanGitHub
Sorry for my late reply!
Probably the self.netG_A or the self.netG_B were not loaded correctly. Maybe you should check the options of netG (e.g., resnet_9blocks, resnet_6blocks, unet_128, unet_256) in the define_G function.

Feel free to let me know if the problem is still around.