Skip to content

4599 mri ssim loss#4600

Merged
wyli merged 53 commits into
Project-MONAI:devfrom
mersad95zd:4599-mri-ssim-loss
Jul 8, 2022
Merged

4599 mri ssim loss#4600
wyli merged 53 commits into
Project-MONAI:devfrom
mersad95zd:4599-mri-ssim-loss

Conversation

@mersad95zd

@mersad95zd mersad95zd commented Jun 27, 2022

Copy link
Copy Markdown
Collaborator

Fixes # .

Description

SSIM loss function as a new feature:

  • ssim_loss.py under monai.apps.reconstruction
  • its unittest under tests
  • its docs under losses.rst/ReconstructionLosses/SSIMLoss

Status

Work in progress

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 -f -u --net --coverage.
  • Quick tests passed locally by running ./runtests.sh --quick --unittests --disttests.
  • In-line docstrings updated.
  • Documentation updated, tested make html command in the docs/ folder.

mersad95zd and others added 30 commits June 21, 2022 07:45
Signed-off-by: mersad95zd <m.zalbagi@gmail.com>
Signed-off-by: mersad95zd <m.zalbagi@gmail.com>
Signed-off-by: mersad95zd <m.zalbagi@gmail.com>
Signed-off-by: mersad95zd <m.zalbagi@gmail.com>
…odule

Signed-off-by: mersad95zd <m.zalbagi@gmail.com>
Signed-off-by: mersad95zd <m.zalbagi@gmail.com>
Signed-off-by: mersad95zd <m.zalbagi@gmail.com>
Signed-off-by: mersad95zd <m.zalbagi@gmail.com>
Signed-off-by: mersad95zd <m.zalbagi@gmail.com>
Signed-off-by: mersad95zd <m.zalbagi@gmail.com>
Signed-off-by: mersad95zd <m.zalbagi@gmail.com>
Signed-off-by: mersad95zd <m.zalbagi@gmail.com>
Signed-off-by: mersad95zd <m.zalbagi@gmail.com>
Signed-off-by: mersad95zd <m.zalbagi@gmail.com>
Signed-off-by: mersad95zd <m.zalbagi@gmail.com>
Signed-off-by: mersad95zd <m.zalbagi@gmail.com>
Signed-off-by: mersad95zd <m.zalbagi@gmail.com>
Signed-off-by: mersad95zd <m.zalbagi@gmail.com>
Comment thread monai/apps/reconstruction/ssim_metric.py Outdated
Comment thread monai/apps/reconstruction/ssim_metric.py Outdated
…to losses

Signed-off-by: mersad95zd <m.zalbagi@gmail.com>
@mersad95zd mersad95zd requested a review from Can-Zhao July 1, 2022 12:40
Comment thread monai/losses/ssim_loss.py Outdated
Comment thread monai/losses/ssim_loss.py Outdated

@Can-Zhao Can-Zhao left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Looks good to me. Thanks!

@wyli wyli requested review from Nic-Ma, ericspod and rijobro July 6, 2022 13:24

@Nic-Ma Nic-Ma 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.

Looks good to me except for some minor comments inline.
@KumoLiu Could you please help double confirm the loss computation as you have experience in the 3D reconstruction?

Thanks in advance.

Comment thread docs/source/data.rst Outdated
Comment thread docs/source/losses.rst Outdated
Comment thread monai/losses/ssim_loss.py
Comment thread monai/metrics/regression.py
Comment thread monai/metrics/regression.py
@mersad95zd

Copy link
Copy Markdown
Collaborator Author

Looks good to me except for some minor comments inline. @KumoLiu Could you please help double confirm the loss computation as you have experience in the 3D reconstruction?

Thanks in advance.

Thanks Nic, I made those edits and pushed again.

@KumoLiu

KumoLiu commented Jul 8, 2022

Copy link
Copy Markdown
Contributor

Hi @Nic-Ma,
Loss computation also seems good to me.
Thanks.

@wyli

wyli commented Jul 8, 2022

Copy link
Copy Markdown
Contributor

thanks, could you help address this issue https://github.com/Project-MONAI/MONAI/runs/7246230319?check_suite_focus=true and I'll merge this PR.

Comment thread docs/source/losses.rst Outdated
Comment thread docs/source/transforms.rst Outdated
Signed-off-by: mersad95zd <m.zalbagi@gmail.com>
@wyli

wyli commented Jul 8, 2022

Copy link
Copy Markdown
Contributor

/build

@wyli wyli enabled auto-merge (squash) July 8, 2022 18:56
@wyli wyli merged commit 4071750 into Project-MONAI:dev Jul 8, 2022
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.

5 participants