Closed AleksandrMinin closed 1 year ago
Hi! Thank you for your contribution! Please re-check all issue template checklists - unfilled issues would be closed automatically. And do not forget to join our slack for collaboration.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
π Bug Report
Bug in catalyst/callbacks/backward.py if the grad_clip_fn value is set.
How To Reproduce
Steps to reproduce the behavior:
AttributeError: 'BackwardCallback' object has no attribute 'model'
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: