Skip to content
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

Regarding the UNet architecture using MobileNetV2 as the encoder #1097

Open
YenYunn opened this issue Mar 20, 2025 · 6 comments
Open

Regarding the UNet architecture using MobileNetV2 as the encoder #1097

YenYunn opened this issue Mar 20, 2025 · 6 comments

Comments

@YenYunn
Copy link

YenYunn commented Mar 20, 2025

I would like to ask the author which layers of the encoder are used for skip connections with which layers of the UNet decoder.

Thank you.

@qubvel
Copy link
Collaborator

qubvel commented Mar 20, 2025

Hey @YenYunn, skip connections are taken right before each downsampling layer

@YenYunn
Copy link
Author

YenYunn commented Mar 21, 2025

Is its structure the same as the image?
Image

@qubvel
Copy link
Collaborator

qubvel commented Mar 21, 2025

Similar, but not exactly, the number of channels in decoder is configurable and there is no last concat + two 3x3 conv layers, only 1x1

@YenYunn
Copy link
Author

YenYunn commented Mar 21, 2025

Okay, thank you.
I’d like to ask: Is the skip connection not directly connecting the input image to group 4 as shown in Figure ?
I took a look, and it seems there are only four skip connections in the bottleneck block. I couldn’t find the fifth one—may I ask where that one would be?

@qubvel
Copy link
Collaborator

qubvel commented Mar 21, 2025

Yes, there is no skip connection for the Group 4 block

@YenYunn
Copy link
Author

YenYunn commented Mar 24, 2025

So, we only have 4 skip connection ?
thanks

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

No branches or pull requests

2 participants