wusonghe / TMFI-Net

12 stars 1 forks source link

When running test_DHF1K.py, does --clip_size have to be set to 32? #6

Open HW140701 opened 1 week ago

HW140701 commented 1 week ago

When running test_DHF1K.py, when I set --clip_size to another value, the following error occurred:

RuntimeError: Calculated padded input size per channel: (1 x 226 x 386). Kernel size: (2 x 3 x 3). Kernel size can't be greater than actual input size

wusonghe commented 1 week ago

你好,感谢你的关注,如果你想将32设置为其他的值,那么模型中的一些参数需要进行调整,具体你可以看一下论文以及模型代码。 发自我的 iPhone

在 2024年9月20日,17:04,HW140701 @.***> 写道:



When running test_DHF1K.py, when I set --clip_size to another value, the following error occurred:

RuntimeError: Calculated padded input size per channel: (1 x 226 x 386). Kernel size: (2 x 3 x 3). Kernel size can't be greater than actual input size

— Reply to this email directly, view it on GitHubhttps://github.com/wusonghe/TMFI-Net/issues/6, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A6TFLZFKGWDAXP4D2PZMWPTZXPQJBAVCNFSM6AAAAABORTCBTGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGUZTQMRXHE2TQOI. You are receiving this because you are subscribed to this thread.Message ID: @.***>

HW140701 commented 1 week ago

ok, thanks for you reply.