-
Notifications
You must be signed in to change notification settings - Fork 456
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow Missing Labels for MTML models
Summary: Some MTML Looper models contain tasks that have little/no data, with no labels in a batch. This will lead to NaN NE and result in the model failing when it shouldn't. This diff allows the BinaryNE metric to allow for no samples in a batch, normally producing nan values and instead producing an epsilon NE. Reviewed By: zainhuda Differential Revision: D50273422 fbshipit-source-id: 0e4b7ae168c038f97c442918f1df0e092ba9088d
- Loading branch information
1 parent
087f3c2
commit 3d192f9
Showing
4 changed files
with
55 additions
and
2 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
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