-
-
Notifications
You must be signed in to change notification settings - Fork 610
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue 874 : add custom events for Metrics (#979)
* first attempt to fix issue_874 * autopep8 fix * add usage * fix bug * autopep8 fix * add missing cls in module * fix bug : completed must be registered last * autopep8 fix * add test * autopep8 fix * attempt to move usage from __init__ to attach() * autopep8 fix * refactor metrics : split attachment from metric * autopep8 fix * remove EngineMetric * add str in api * add doc * autopep8 fix * improve doc * improve doc * fix filtered batch usage * fix _check_signature for wrappers * disable _assert_non_filtered_event * add test for batch filtered usage * revert follow_wrapped * fix bug due to decoration and wrappers * fix tests * autopep8 fix * Update test_metric.py * remove _assert_non_filtered_event * autopep8 fix * update doc * autopep8 fix * #1004 allows to use torch.no_grad decorator in class * autopep8 fix * improve doc * Update metrics.rst * Fixed flake8 and improved docs Co-authored-by: AutoPEP8 <> Co-authored-by: vfdev <vfdev.5@gmail.com> Co-authored-by: Desroziers <sylvain.desroziers@ifpen.fr>
- Loading branch information
1 parent
5fa1796
commit 5d26c97
Showing
7 changed files
with
308 additions
and
59 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
Oops, something went wrong.