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

This problem occurred at the beginning of training.... #22

Open
yinminzzy opened this issue Mar 3, 2023 · 7 comments
Open

This problem occurred at the beginning of training.... #22

yinminzzy opened this issue Mar 3, 2023 · 7 comments

Comments

@yinminzzy
Copy link

ValueError: Expected more than 1 spatial element when training, got input size torch.Size([32, 165, 1, 1])

I want to ask how to solve this problem,thanks

@Pesciolini
Copy link

I also encountered this problem, did you solve it and how did you solve it?

@yinminzzy
Copy link
Author

yes....This seems to be due to the use of batch normalization, so H and W here must be numbers greater than 1.But I have forgotten where I modified it. I'm very sorry, you can debug it yourself

@HRHRHRHR666
Copy link

I also encountered this problem. Can you please provide a detailed solution?

@Pesciolini
Copy link

yes....This seems to be due to the use of batch normalization, so H and W here must be numbers greater than 1.But I have forgotten where I modified it. I'm very sorry, you can debug it yourself

Thanks, use torch 1.4 & python 3.6 solve my problem

@Djs-Champion
Copy link

ValueError: Expected more than 1 spatial element when training, got input size torch.Size([32, 165, 1, 1])

I want to ask how to solve this problem,thanks

Hello, have you resolved your issue?

@Djs-Champion
Copy link

I also encountered this problem. Can you please provide a detailed solution?

Hello, have you resolved your issue?

@Djs-Champion
Copy link

ValueError: Expected more than 1 spatial element when training, got input size torch.Size([32, 165, 1, 1])

I want to ask how to solve this problem,thanks

Hello, have you resolved your issue?

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

4 participants