Skip to content

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

Merged
Nic-Ma merged 10 commits intoProject-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 intoProject-MONAI:masterfrom
Nic-Ma:886-add-metrics-report

Conversation

@Nic-Ma
Copy link
Copy Markdown
Contributor

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

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
Copy link
Copy Markdown
Contributor Author

Nic-Ma commented Jan 22, 2021

/black

monai-bot and others added 2 commits January 22, 2021 10:25
@Nic-Ma
Copy link
Copy Markdown
Contributor Author

Nic-Ma commented Jan 22, 2021

/black

Copy link
Copy Markdown
Contributor

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

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
Copy link
Copy Markdown
Contributor Author

Nic-Ma commented Jan 22, 2021

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
Copy link
Copy Markdown
Contributor Author

Nic-Ma commented Jan 22, 2021

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

Thanks.

@vfdev-5
Copy link
Copy Markdown
Member

vfdev-5 commented Jan 22, 2021

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

@Nic-Ma
Copy link
Copy Markdown
Contributor Author

Nic-Ma commented Jan 22, 2021

/black

@Nic-Ma
Copy link
Copy Markdown
Contributor Author

Nic-Ma commented Jan 22, 2021

Distributed training issue fixed, ready for review.
Thanks.

Signed-off-by: Nic Ma <[email protected]>
@Nic-Ma
Copy link
Copy Markdown
Contributor Author

Nic-Ma commented Jan 22, 2021

/black

@Nic-Ma
Copy link
Copy Markdown
Contributor Author

Nic-Ma commented Jan 23, 2021

/black

@Nic-Ma
Copy link
Copy Markdown
Contributor Author

Nic-Ma commented Jan 23, 2021

integratiion test_integration_workflow passed locally.
Thanks.

@Nic-Ma
Copy link
Copy Markdown
Contributor Author

Nic-Ma commented Jan 23, 2021

/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