lpj0 / MWCNN_PyTorch

Training Code for MWCNN in PyTorch environment

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to handle the case where the image size becomes odd

JiaqianLi opened this issue · comments

Hello, thank you for share your code and it helps me great. But I have a problem that how to handle the case where the image size becomes odd during the downsampling process. For example, if the patch size is 100, after 3 DWT it becomes 13 or 12, when upsampling with DWT the size can not match the input size. I want to know how to settle this problem?
Looking forward for your reply!