Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

關於kernel size #79

Open
ntut110368136 opened this issue Nov 30, 2022 · 0 comments
Open

關於kernel size #79

ntut110368136 opened this issue Nov 30, 2022 · 0 comments

Comments

@ntut110368136
Copy link

如果我想要更改CNN模型的kernel size,例如改成5*5大小,以便看是否有更高的PSNR。
我跟改了model_x 檔案第52行"layers = [nn.Conv2d(in_filters, out_filters, 5, stride=2, padding=1)]"
跑出了錯誤訊息 "RuntimeError: Calculated padded input size per channel: (7 x 7). Kernel size: (8 x 8). Kernel size can't be greater than actual input size" ,想請問作者如何解決。

謝謝您。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant