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

UNET self.ups alternative in forward pass #96

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gaffinetB
Copy link

Implemented alternative way to make skip connections work in forward pass for UNET model.

Instead of iterating with a step of 2 over self.ups, iterate over the reversed(skip_connections).
The indices are adapted accordingly.

Changes come as a reaction to PyTorch Image Segmentation Tutorial with U-NET: everything from scratch baby at 16'00'' (love the video)

Hope it helps. Hope it's more intuitive as approach.

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.

None yet

1 participant