Closed fxia22 closed 6 years ago
Can you make the change and submit a PR?
Sure there you have it #26 :)
@fxia22 FYI: to avoid the wrong gradient (NaN), please look this #27
So you are saying that I should merge the other PR, correct?
Right, I tested it. The >0 condition prevents the divided by zero problems.
Yes, please merge the other PR instead. Thanks.
This commit needs to be applied: https://github.com/hiroharu-kato/neural_renderer/commit/310d8b55abc050bd3d0ac1a0c9e6e4cfa6bb3336