Add flexible unet for encoder-decoder structure#4801
Merged
Conversation
A flexible U-Net implements an encoder-decoder network. This network uses U-Net as decoder and efficientnet-V1 family as encoder. The encoder type can be set by passing parameters 'efficientnet-b0, ..., efficientnet-b7, efficientnet-l2' to the initialize function. Signed-off-by: binliu <binliu@nvidia.com>
for more information, see https://pre-commit.ci
… test file for flexible unet. Signed-off-by: binliunls <binliu@nvidia.com>
…f flexible unet Signed-off-by: binliunls <binliu@nvidia.com>
Contributor
|
/black |
Contributor
|
/build |
Contributor
|
Hi @binliunls , I think the error of CI is due to the image size in the tests. Thanks. |
Signed-off-by: binliunls <binliu@nvidia.com>
Contributor
|
/build |
Nic-Ma
approved these changes
Aug 10, 2022
Nic-Ma
left a comment
Contributor
There was a problem hiding this comment.
Looks good to me as the first version implementation.
We can add more backbone support in the following PRs.
Thanks.
Signed-off-by: binliunls <binliu@nvidia.com>
… into 4533-flexible-unet update the repo to remote repo
Contributor
|
/black |
Contributor
|
/build |
1 similar comment
Contributor
|
/build |
Signed-off-by: binliunls <binliu@nvidia.com>
Contributor
|
/build |
yiheng-wang-nv
approved these changes
Aug 10, 2022
Contributor
wyli
reviewed
Aug 10, 2022
wyli
reviewed
Aug 10, 2022
wyli
reviewed
Aug 10, 2022
wyli
reviewed
Aug 10, 2022
wyli
reviewed
Aug 10, 2022
…o unitest since the download may cost a lot of time. Signed-off-by: binliunls <binliu@nvidia.com>
… into 4533-flexible-unet Update to the newest repo.
for more information, see https://pre-commit.ci
wyli
reviewed
Aug 12, 2022
wyli
reviewed
Aug 12, 2022
Signed-off-by: binliu <binliu@nvidia.com>
…e the dim parameter of segmentation head to spatial_dims. Signed-off-by: binliu <binliu@nvidia.com>
Signed-off-by: binliu <binliu@nvidia.com>
… to fit encoder features Signed-off-by: binliu <binliu@nvidia.com>
Signed-off-by: binliu <binliu@nvidia.com>
Contributor
|
/build |
wyli
approved these changes
Aug 12, 2022
wyli
left a comment
Contributor
There was a problem hiding this comment.
Thanks, it looks good to me. I'll merge this pr if all tests work fine.
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A flexible U-Net implements an encoder-decoder network. This network uses U-Net
as decoder and efficientnet-V1 family as encoder. The encoder type can be set
by passing parameters 'efficientnet-b0, ..., efficientnet-b7, efficientnet-l2'
to the initialize function.
Signed-off-by: binliu binliu@nvidia.com
Fixes #4533 .
Description
Add a new encoder-decoder defined network structure to monai. Currently the script is
the very beginning version of it and can only support U-Net as decoder and efficientnet-
V1 family as encoder.
Aim to make this more flexible and add more networks to it.
Status
Ready
Types of changes
./runtests.sh -f -u --net --coverage../runtests.sh --quick --unittests --disttests.make htmlcommand in thedocs/folder.