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

d_loss_real and d_loss_fake near 0 after training for some step.d_loss_real 和d_loss_fake在几次训练后都变成0 不动了 #83

Open
zongzhimin opened this issue Nov 30, 2020 · 3 comments

Comments

@zongzhimin
Copy link

我用tensoflow2按1的代码复原了网络,但是训练的时候d_loss_real 和d_loss_fake 很快都下降到0.

最终的generator只能得到一张空白的图片。

加载他的预训练的generator参数继续训练也是一样,d_loss接近0。

不知道是我代码写错了吗。。。检查了好久没发现。。。

求助!!!

@zongzhimin
Copy link
Author

一个epoch里面的loss变化:几小步step就变成0了
image
contant loss会很大
image

image

image

image

image

打印了下fake图片的均值,变成1了··
image

image

image

@zongzhimin
Copy link
Author

可能是哪些环节的问题呢,救救孩子把。。。。

@XuyangPan
Copy link

这个项目为什么star1.9k,有这么大的价值吗, 表示复现出问题了,已经放弃了

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