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

优化器问题 #5

Open
RuiChen-stack opened this issue Sep 9, 2024 · 3 comments
Open

优化器问题 #5

RuiChen-stack opened this issue Sep 9, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@RuiChen-stack
Copy link

你好,我想请教个问题,请问您的代码中,辨识器和前面的模型是使用同一个优化器吗

@ZhengPeng7
Copy link
Owner

Hi, 那不是的, 感觉也不应该是. 分别是optimizeroptimizer_d这两个哈.

@RuiChen-stack
Copy link
Author

这两个优化器输入的参数都是整个模型的参数啊,我想是不是应该像GAN那样,生成器的参数使用一个优化器,辨识器的参数使用另外一个优化器呢

@ZhengPeng7
Copy link
Owner

对, 你说的对, 我这里的code似乎是一个严重的问题, 非常感谢指出!
可能是后来代码有误, 当时加上adv试了几次, 效果提升都很显著.
我抽时间去重跑一下看看, 再次感谢!

@ZhengPeng7 ZhengPeng7 added the bug Something isn't working label Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants