-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added callable options for iteration_log and epoch_log in StatsHandler #5965
Added callable options for iteration_log and epoch_log in StatsHandler #5965
Conversation
Fixes Project-MONAI#5964 Signed-off-by: vfdev-5 <[email protected]>
9f52d54
to
1488b06
Compare
Signed-off-by: Wenqi Li <[email protected]>
update to use parameterized
@wyli I wonder which job actually runs test_handler_stats.py, can you please put a link on it ? |
/build |
I had a few minor suggestions but looks like a good change! |
Co-authored-by: Eric Kerfoot <[email protected]> Signed-off-by: vfdev <[email protected]>
for more information, see https://pre-commit.ci
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @vfdev-5 ,
Looks good to me.
Could you please help also enable this feature for other very similar handlers? Like:
https://github.com/Project-MONAI/MONAI/blob/dev/monai/handlers/tensorboard_handlers.py#L94
And:
https://github.com/Project-MONAI/MONAI/blob/dev/monai/handlers/mlflow_handler.py#L101
Thanks in advance.
@Nic-Ma yes, I can take a look on that in a follow-up PR |
/build |
Project-MONAI#5965) Fixes Project-MONAI#5964 ### Description Added callable options for iteration_log and epoch_log in StatsHandler. Ref: Project-MONAI#5958 (reply in thread) ### 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). - [ ] Breaking change (fix or new feature that would cause existing functionality to change). - [x] New tests added to cover the changes. - [ ] Integration tests passed locally by running `./runtests.sh -f -u --net --coverage`. - [ ] Quick tests passed locally by running `./runtests.sh --quick --unittests --disttests`. - [x] In-line docstrings updated. - [ ] Documentation updated, tested `make html` command in the `docs/` folder. --------- Signed-off-by: vfdev-5 <[email protected]> Signed-off-by: Wenqi Li <[email protected]> Signed-off-by: vfdev <[email protected]> Co-authored-by: Wenqi Li <[email protected]> Co-authored-by: Eric Kerfoot <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Wenqi Li <[email protected]>
… and MLFlow (#5976) Follow-up PR on extending `iteration_log`/`epoch_log` functionality ### Description > Could you please help also enable this feature for other very similar handlers? Like: https://github.com/Project-MONAI/MONAI/blob/dev/monai/handlers/tensorboard_handlers.py#L94 And: https://github.com/Project-MONAI/MONAI/blob/dev/monai/handlers/mlflow_handler.py#L101 - #5965 (review) ### 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). - [ ] Breaking change (fix or new feature that would cause existing functionality to change). - [x] New tests added to cover the changes. - [ ] Integration tests passed locally by running `./runtests.sh -f -u --net --coverage`. - [ ] Quick tests passed locally by running `./runtests.sh --quick --unittests --disttests`. - [x] In-line docstrings updated. - [ ] Documentation updated, tested `make html` command in the `docs/` folder.
Fixes #5964
Description
Added callable options for iteration_log and epoch_log in StatsHandler.
Ref: #5958 (reply in thread)
Types of changes
./runtests.sh -f -u --net --coverage
../runtests.sh --quick --unittests --disttests
.make html
command in thedocs/
folder.