-
Notifications
You must be signed in to change notification settings - Fork 411
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix MAP metric for empty cases (#624)
* add detection map code example * update setup * simplify named tuple * Update tm_examples/detection_map.py * Update tm_examples/detection_map.py * Update tm_examples/detection_map.py * Update tm_examples/detection_map.py * Update tm_examples/detection_map.py * Update tm_examples/detection_map.py * add some more comments * add some more comments * add example hint in metric docstring * fix evaluation for empty metric * Update torchmetrics/detection/map.py * fix deepsource stuff * update changelog * fix ddp issue in multi GPU setup for empty boxes * update doc * simplify empty tensors fix * fix mypy * fix failing unittests Co-authored-by: Jirka <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Nicki Skafte Detlefsen <[email protected]> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> Co-authored-by: Jirka Borovec <[email protected]> (cherry picked from commit 3aef7be)
- Loading branch information
Showing
3 changed files
with
38 additions
and
15 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