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

Help to integrate "Plug-and-Play" modules #423

Closed
harsharaman opened this issue Dec 7, 2020 · 1 comment
Closed

Help to integrate "Plug-and-Play" modules #423

harsharaman opened this issue Dec 7, 2020 · 1 comment

Comments

@harsharaman
Copy link

Hi Fabian,
I congratulate you on your amazing work. For a student like me, your project is very helpful to get a comparison among the U-Net family.
I seek your help to integrate a "squeeze-and-excite" module into the U-Net like the one here: https://github.com/ai-med/squeeze_and_excitation/blob/master/squeeze_and_excitation/squeeze_and_excitation_3D.py. Specifically, in other U-networks, we predefine this class and add objects with specific channels after each convolution blocks. However, with your code, to replicate the same, I had to alter the Generic_UNet, which I am skeptical to do, because I am not sure if it is the right way for code with such modularity and also if I break any continuity within.
I went through the examples of modifying architecture variants, but I did not find adding a specific module within the network; only tinkering the architecture parameters. Could you please suggest me a way to get ahead with this?
Thanks a lot,

Best,
Harsha

@FabianIsensee
Copy link
Member

Hi,
you need to modify Generic_UNet to add the blocks in the correct positions. That should be rather straightforward. Note that these blocks will not be considered for estimating GPU memory consumption, so you may need more than 10GB of GPU memory to train the resulting model.
Best,
Fabian

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