Bug in catalyst/callbacks/backward.py if the grad_clip_fn value is set. #1445
Labels
bug
Something isn't working
duplicate
This issue or pull request already exists
help wanted
Extra attention is needed
🐛 Bug Report
Bug in catalyst/callbacks/backward.py if the grad_clip_fn value is set.
How To Reproduce
Steps to reproduce the behavior:
Code sample
Expected behavior
You need to replace
with
in catalyst/callbacks/backward.py line 55.
Then there will be no mistake and the training will be successful.
Environment
Checklist
FAQ
Please review the FAQ before submitting an issue:
The text was updated successfully, but these errors were encountered: