mateuszbuda/brain-segmentation-pytorch

where do you implement concatenation

Closed this issue · 2 comments

Hi,

From the image of the architecture in README.md, it seems that a concatenation was implemented. But from your unet.py, I couldn't find where do concatenation was implemented? I have trouble implementing the concatenation in U-net, Could you please help me understand it?

Great Thanks.

Hi, thank you for your interest in my code
Concatenation of feature maps is in forward function:

dec4 = torch.cat((dec4, enc4), dim=1)

Let me know if you have any other questions.

Best regards,
Mat

Thanks!