Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
LaoGanGitHub opened this issue May 17, 2022 · 1 comment
Open

Comments

@LaoGanGitHub
Copy link

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

@huuquan1994
Copy link
Collaborator

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants