3D classification with different input size #3575
-
Thanks for the excellent work. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
thanks, please use the discussions tab instead. I'm converting this to Discussions. |
Beta Was this translation helpful? Give feedback.
-
Hi @yiheng-wang-nv , Could you please help share the support input data shape of our Thanks in advance. |
Beta Was this translation helpful? Give feedback.
-
Hi @yingdiLee, there are no hard constraints on image size when using DenseNet. (You may need to make sure that your images are divisible by a 2**n factor if convolution strides are two, I can't remember you'll have to check but that should be a simple test.) If you want to use images of different sizes compared to one another, you could either use batch size of 1, or make use of our |
Beta Was this translation helpful? Give feedback.
Hi @yingdiLee, there are no hard constraints on image size when using DenseNet. (You may need to make sure that your images are divisible by a 2**n factor if convolution strides are two, I can't remember you'll have to check but that should be a simple test.)
If you want to use images of different sizes compared to one another, you could either use batch size of 1, or make use of our
pad_list_data_collate
collation function in yourDataLoader
. This will pad all images in your batch to match their sizes.