Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

add gradient clipping to create_supervised_trainer_* #1693

Closed

Conversation

KickItLikeShika
Copy link
Contributor

@KickItLikeShika KickItLikeShika commented Feb 23, 2021

Fixes #419

Added gradient clipping feature to create_supervised_trainer_*, whatever the device or the amp mode.

Check list:

  • New tests are added (if a new feature is added)
  • New doc strings: description and/or example code are in RST format
  • Documentation is updated (if required)

@KickItLikeShika KickItLikeShika changed the title add gradient clipping to create_supervised_* add gradient clipping to create_supervised_trainer_* Feb 23, 2021
@sdesrozis
Copy link
Contributor

@KickItLikeShika Thank you for this PR.

Although it misses tests of the feature. What do you think ?

@KickItLikeShika
Copy link
Contributor Author

@sdesrozis Yes i know, just a few hours and the test are gonna be added. Thanks

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add gradient clipping to create_supervised_trainer()
2 participants