Skip to content

Support block type strings in resnet#4701

Closed
KumoLiu wants to merge 1 commit intoProject-MONAI:devfrom
KumoLiu:4691-support-block-type-strings-in-resnet
Closed

Support block type strings in resnet#4701
KumoLiu wants to merge 1 commit intoProject-MONAI:devfrom
KumoLiu:4691-support-block-type-strings-in-resnet

Conversation

@KumoLiu
Copy link
Copy Markdown
Contributor

@KumoLiu KumoLiu commented Jul 15, 2022

Signed-off-by: KumoLiu [email protected]

Fixes # .

Description

Support block type strings in resnet from #4691

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 --disttests.
  • In-line docstrings updated.
  • Documentation updated, tested make html command in the docs/ folder.

@Nic-Ma Nic-Ma reopened this Jul 21, 2022
@Nic-Ma Nic-Ma marked this pull request as ready for review July 21, 2022 05:35
@Nic-Ma
Copy link
Copy Markdown
Contributor

Nic-Ma commented Jul 21, 2022

Hi @KumoLiu ,

Please also update the SENet.
CC @yiheng-wang-nv

Thanks.

def __init__(
self,
block: Type[Union[ResNetBlock, ResNetBottleneck]],
block: Union[Type[Union[ResNetBlock, ResNetBottleneck]], str],
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.

Hi @KumoLiu , can you please also update the docstrings of arg block? Thanks

@yiheng-wang-nv
Copy link
Copy Markdown
Contributor

The content of this PR is duplicated with #4738 thus I will close this one.

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.

3 participants