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

SDPoint not working on CIFAR #1

Open
kainat-altaf-cau opened this issue Mar 12, 2024 · 0 comments
Open

SDPoint not working on CIFAR #1

kainat-altaf-cau opened this issue Mar 12, 2024 · 0 comments

Comments

@kainat-altaf-cau
Copy link

Hello,

I am trying to run the given code for CIFAR10/100. However, It gives me the following error during training the model:

RuntimeError: adaptive_avg_pool2d_backward(): Expected grad_output to have non-zero size for non-batch dimensions, but grad_output has sizes [128, 512, 0, 0] with dimension 2 being empty

As per my understanding, by downsampling at a certain point, the feature map shape reaches 0x0, which results in this error. I am using resnet18 but the error stays even if I change the model to resnext or preresnet. Can you share your insights if you face the same issue while running the model?

Or maybe, if you have the implementation of the CIFAR code, you can share it here.

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