Add flexible unet for encoder-decoder structure#4801
Merged
wyli merged 21 commits intoProject-MONAI:devfrom Aug 12, 2022
Merged
Add flexible unet for encoder-decoder structure#4801wyli merged 21 commits intoProject-MONAI:devfrom
wyli merged 21 commits intoProject-MONAI:devfrom
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 <[email protected]>
… test file for flexible unet. Signed-off-by: binliunls <[email protected]>
…f flexible unet Signed-off-by: binliunls <[email protected]>
Contributor
|
/black |
Contributor
|
/build |
Contributor
|
Hi @binliunls , I think the error of CI is due to the image size in the tests. Thanks. |
Contributor
|
/build |
Nic-Ma
approved these changes
Aug 10, 2022
Contributor
Nic-Ma
left a comment
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 <[email protected]>
… into 4533-flexible-unet update the repo to remote repo
Contributor
|
/black |
Contributor
|
/build |
1 similar comment
Contributor
|
/build |
Signed-off-by: binliunls <[email protected]>
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 <[email protected]>
… into 4533-flexible-unet Update to the newest repo.
wyli
reviewed
Aug 12, 2022
wyli
reviewed
Aug 12, 2022
Signed-off-by: binliu <[email protected]>
…e the dim parameter of segmentation head to spatial_dims. Signed-off-by: binliu <[email protected]>
Signed-off-by: binliu <[email protected]>
… to fit encoder features Signed-off-by: binliu <[email protected]>
Signed-off-by: binliu <[email protected]>
Contributor
|
/build |
wyli
approved these changes
Aug 12, 2022
Contributor
wyli
left a comment
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 [email protected]
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.