difference between img_size and patch_size in UNETR #2748
-
Hi @ahatamiz, for single channel input 4-channel output with patch size of (96,96,96), feature size of 32 and batch norm
it said that (96,96,96) is patch size but assigned it to img_size. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Thanks for your interest in our work. Thanks |
Beta Was this translation helpful? Give feedback.
-
Hi |
Beta Was this translation helpful? Give feedback.
-
Hi @LalehSeyyed, |
Beta Was this translation helpful? Give feedback.
Hi @elahe-badali
Thanks for your interest in our work.
img_size
represents the dimension of input image (e.g. sampled(96,96,96)
patches of input CT images) whereaspatch_size
is the size of input patches (e.g.(16,16,16)
) used in the encoder of UNETR (i.e. ViT).Thanks