pytorch/examples

Gradient vanishing of G in the DCGAN example

Open

#822 创建于 2020年9月11日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)Python (21,634 star) (9,429 fork)batch import
help wanted

描述

Hello,

I have trained the DCGAN with the default hyper-parameter settings on the downloaded "img_align_celeba" dataset (recommended in the tutorial). However, the results reveal strong gradient vanishing of G. While Loss_D keeps decreasing towards 0, Loss_G grows high (towards 100).

It seems that D is trained so well, preventing a good training on G. I didn't do any modifications on the code. Do you know what happened?

Thanks!

贡献者指南