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

RuntimeError: Given input size: (2048x1x1). Calculated output size: (2048x-5x-5). Output size is too small #29

Open
bitwangdan opened this issue Mar 24, 2021 · 1 comment

Comments

@bitwangdan
Copy link

Hi, when i run "python main.py --cfg ./config/CIFAR10_LT/causal_norm.yaml", i got this error:
RuntimeError: Given input size: (2048x1x1). Calculated output size: (2048x-5x-5). Output size is too small

but when i run "python main.py --cfg ./config/CIFAR10_LT/causal_norm_32.yaml", it works
Have you ever encountered this problem?

@chastloveRYU
Copy link

change the kernel size of averagepool

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

2 participants