-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trying to solve issues with UNet and ASPPHeads. #457
Open
Joao-L-S-Almeida
wants to merge
15
commits into
main
Choose a base branch
from
new/fix/unet
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
0cff8af
UNet in the register
Joao-L-S-Almeida 83d04e7
adjust
Joao-L-S-Almeida c2837df
renaming base_channels with out_channels
Joao-L-S-Almeida 6c5510c
ASPP missing in register
Joao-L-S-Almeida 12bf967
out_channels need a value
Joao-L-S-Almeida ca2dd74
register more ASPP heads
Joao-L-S-Almeida ed3ebfa
debugging unet
Joao-L-S-Almeida 8d58ec3
Merge branch 'add/unet/register' into fix/unet
Joao-L-S-Almeida a0b550e
debugging
Joao-L-S-Almeida 555d800
Adaptations to use EncoderDecoderfactory
Joao-L-S-Almeida b502907
Invoking can circumvent issues with BatchNorm
Joao-L-S-Almeida 9e8cddf
A correct definition for the channels
Joao-L-S-Almeida d0a3e98
channels_list is default for encoder_decoder (but it seemingly doesn'…
Joao-L-S-Almeida 6dec32c
Removing all the call for eval
Joao-L-S-Almeida 9bb5dae
fixing test
Joao-L-S-Almeida File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is actually for line 276 but I can only review changed lines
The way that
ASPPRegressionHead
is setup doesn't comply with the way encoder_decoder_factory.py calls decoder build. Since, the build expects that the first arguments to be channel_list and we have dilations instead. So, the dilations are set incorrectly and I cannot set dilations using a configTo resolve this I'd suggest
in_channels
as input parameterchannel_list
as the first input parameterin_index
withchannel_list
to set thein_channels
Note this only works when input_transform is None. I currently only care about this use case wherein we select one item from the channel list and this corresponds to the item we pick from the dec_outs. Though if you want to make it more generic mmseg has a
BaseDecodeHead._init_inputs
function that deals with different types of channel_list, input_transforms etcThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. I'll try to adapt and include it in the ASPP module.