-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make RetinaNet throw errors for NaN only when training (#6479)
Fixes #6478 . ### Description I assume that the `amp=True` setting affects the numeric stability in evaluators and causes the issues in #6478 , The fix in this PR aims to continue the training by not raising errors during the evaluation. ### Types of changes <!--- Put an `x` in all the boxes that apply, and remove the not applicable items --> - [x] Non-breaking change (fix or new feature that would not break existing functionality). Signed-off-by: Mingxin Zheng <18563433+mingxin-zheng@users.noreply.github.com>
- Loading branch information
1 parent
4a0afc8
commit d688769
Showing
2 changed files
with
21 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters