Skip to content

886 Add IterationMetric refer to to the EpochMetric in ignite#1488

Merged
Nic-Ma merged 10 commits into
Project-MONAI:masterfrom
Nic-Ma:886-add-metrics-report
Jan 23, 2021
Merged

886 Add IterationMetric refer to to the EpochMetric in ignite#1488
Nic-Ma merged 10 commits into
Project-MONAI:masterfrom
Nic-Ma:886-add-metrics-report

Conversation

@Nic-Ma

@Nic-Ma Nic-Ma commented Jan 22, 2021

Copy link
Copy Markdown
Contributor

Partly fixes issue 886.

Description

This PR added IterationMetric handler to remove much duplicated code in all the metric handlers.
And it can provide better extension as it saves the computation results of every iteration.

Status

Ready

Types of changes

  • 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).
  • New tests added to cover the changes.
  • Integration tests passed locally by running ./runtests.sh --codeformat --coverage.
  • Quick tests passed locally by running ./runtests.sh --quick.
  • In-line docstrings updated.
  • Documentation updated, tested make html command in the docs/ folder.

@Nic-Ma Nic-Ma changed the title 886 Add MetricsSaver handler to save report [WIP] 886 Add MetricsSaver handler to save report Jan 22, 2021
@Nic-Ma Nic-Ma force-pushed the 886-add-metrics-report branch from 009a163 to 8f110a0 Compare January 22, 2021 10:18
@Nic-Ma Nic-Ma changed the title [WIP] 886 Add MetricsSaver handler to save report 886 Add IterationMetric refer to to the EpochMetric in ignite Jan 22, 2021
@Nic-Ma Nic-Ma marked this pull request as ready for review January 22, 2021 10:22
@Nic-Ma

Nic-Ma commented Jan 22, 2021

Copy link
Copy Markdown
Contributor Author

/black

monai-bot and others added 2 commits January 22, 2021 10:25
Signed-off-by: monai-bot <monai.miccai2019@gmail.com>
Signed-off-by: Nic Ma <nma@nvidia.com>
@Nic-Ma

Nic-Ma commented Jan 22, 2021

Copy link
Copy Markdown
Contributor Author

/black

@yiheng-wang-nv yiheng-wang-nv left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Nic, I checked the code and I think the implementation is correct.

@Nic-Ma

Nic-Ma commented Jan 22, 2021

Copy link
Copy Markdown
Contributor Author

Hi @vfdev-5 ,

This PR added IterationMetric to MONAI, is it possible to consider to move it to ignite later? I just referred to the EpochMetric in ignite.

Thanks.

@Nic-Ma

Nic-Ma commented Jan 22, 2021

Copy link
Copy Markdown
Contributor Author

Found a small issue in distributed training case, please don't merge it for now.

Thanks.

@vfdev-5

vfdev-5 commented Jan 22, 2021

Copy link
Copy Markdown
Member

Hi @Nic-Ma , let me see about that and we can talk about moving it to ignite...

@Nic-Ma

Nic-Ma commented Jan 22, 2021

Copy link
Copy Markdown
Contributor Author

/black

@Nic-Ma

Nic-Ma commented Jan 22, 2021

Copy link
Copy Markdown
Contributor Author

Distributed training issue fixed, ready for review.
Thanks.

Signed-off-by: Nic Ma <nma@nvidia.com>
@Nic-Ma

Nic-Ma commented Jan 22, 2021

Copy link
Copy Markdown
Contributor Author

/black

Signed-off-by: Nic Ma <nma@nvidia.com>
@Nic-Ma

Nic-Ma commented Jan 23, 2021

Copy link
Copy Markdown
Contributor Author

/black

@Nic-Ma

Nic-Ma commented Jan 23, 2021

Copy link
Copy Markdown
Contributor Author

integratiion test_integration_workflow passed locally.
Thanks.

Signed-off-by: Nic Ma <nma@nvidia.com>
@Nic-Ma

Nic-Ma commented Jan 23, 2021

Copy link
Copy Markdown
Contributor Author

/black

@Nic-Ma Nic-Ma merged commit 0b7e645 into Project-MONAI:master Jan 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants