Skip to content

enhance norm and act layers#2166

Merged
wyli merged 8 commits intoProject-MONAI:devfrom
yiheng-wang-nv:2164-enhance-norm-act-layers
May 14, 2021
Merged

enhance norm and act layers#2166
wyli merged 8 commits intoProject-MONAI:devfrom
yiheng-wang-nv:2164-enhance-norm-act-layers

Conversation

@yiheng-wang-nv
Copy link
Copy Markdown
Contributor

Signed-off-by: Yiheng Wang [email protected]

Fixes #2164 .

Description

Enhance norm and act layers for segresnet and dynunet.

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

Signed-off-by: Yiheng Wang <[email protected]>
@yiheng-wang-nv yiheng-wang-nv marked this pull request as ready for review May 10, 2021 11:43
@yiheng-wang-nv yiheng-wang-nv requested a review from Nic-Ma May 10, 2021 11:43
@yiheng-wang-nv yiheng-wang-nv requested a review from wyli May 10, 2021 14:56
@yiheng-wang-nv yiheng-wang-nv requested a review from ericspod May 11, 2021 03:24
@Nic-Ma
Copy link
Copy Markdown
Contributor

Nic-Ma commented May 11, 2021

Hi @ericspod ,

Could you please help review this PR as you developed this layer factory before? I think you know more details.

Thanks in advance.

Copy link
Copy Markdown
Member

@ericspod ericspod left a comment

Choose a reason for hiding this comment

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

This is a good improvement and using the factories the way I think we should. There's a few comments to address but then we can approve.

Copy link
Copy Markdown
Contributor

@wyli wyli left a comment

Choose a reason for hiding this comment

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

thanks! this PR introduces breaking changes for SegResNet, removed norm_name and num_groups parameters, added act and norm parameter. but the default behaviour doesn't change.

@wyli wyli merged commit 29a0373 into Project-MONAI:dev May 14, 2021
@yiheng-wang-nv yiheng-wang-nv deleted the 2164-enhance-norm-act-layers branch May 14, 2021 13:58
@wyli wyli mentioned this pull request May 14, 2021
6 tasks
wyli pushed a commit that referenced this pull request May 26, 2021
* enhance norm and act layers

Signed-off-by: Yiheng Wang <[email protected]>

* write generic norm and act layers

Signed-off-by: Yiheng Wang <[email protected]>

* Fix flake8 errors

Signed-off-by: Yiheng Wang <[email protected]>
wyli pushed a commit that referenced this pull request May 26, 2021
* enhance norm and act layers

Signed-off-by: Yiheng Wang <[email protected]>

* write generic norm and act layers

Signed-off-by: Yiheng Wang <[email protected]>

* Fix flake8 errors

Signed-off-by: Yiheng Wang <[email protected]>
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.

Support **kwargs for some pytorch args of networks

4 participants