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

Prevent gamma from being -inf #4

Open
lcxsnow opened this issue Nov 28, 2023 · 0 comments
Open

Prevent gamma from being -inf #4

lcxsnow opened this issue Nov 28, 2023 · 0 comments

Comments

@lcxsnow
Copy link

lcxsnow commented Nov 28, 2023

I changed the adversarial loss to hinge gan loss, and gamma will often be -inf in the training loop, then the training will be crash.
How can I adjust the "get_gradient_ratios" to prevent gamma from being -inf?

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

1 participant