-
Notifications
You must be signed in to change notification settings - Fork 2.9k
wgan_loss使用gp的时候报错 #3060
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
Labels
Comments
您好,麻烦贴下paddle的版本,您机器的环境和具体报错信息~ |
Closed
报错原因是 double backward的操作并不是所有op都支持,用户在stargan的基础上修改了判别器网络,判别网络中使用了不支持double backward的op,如batch norm,reshape等op,所以会报错GradOp没有注册。 |
|
PaddlePaddle/Paddle#19070 已经merge。但PaddlePaddle/Paddle#19070 是通过 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/PaddlePaddle/models/blob/v1.5.1/PaddleCV/PaddleGAN/trainer/StarGAN.py 根据stargan 的训练模式train,加入gp_loss 可是一直报错,d_loss+=gp_loss 时候 报错 grad_op_maker_ should not be null ,好像是 gp_loss 梯度截断有问题
The text was updated successfully, but these errors were encountered: