-
Hi, I'd like to build a customized SegResNet, where the blocks have different kernel sizes (according to a paper that I found, which handles feature extraction in a similar case as mine with these special kernel sizes). However, if I construct a network using ResBlocks, I cannot change the kernel sizes, although there is an arg for that:
ResBlock( Note, that although I passed a kernel_size = 5 arg, they are still size 3. Any hints? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @r00tdotexe, thanks for pointing it out. |
Beta Was this translation helpful? Give feedback.
Hi @r00tdotexe, thanks for pointing it out.
Looks like a bug,
kernel_size
didn't correctly send to the convolution.https://github.com/Project-MONAI/MONAI/blob/281cb0119c01eaa8e6c841880b91f92f45e8d7f7/monai/networks/blocks/segresnet_block.py#L76