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: Trying to resize storage that is not resizable #385

Open
xuanzhiliu opened this issue Aug 8, 2022 · 1 comment
Open

RuntimeError: Trying to resize storage that is not resizable #385

xuanzhiliu opened this issue Aug 8, 2022 · 1 comment

Comments

@xuanzhiliu
Copy link

xuanzhiliu commented Aug 8, 2022

Hi,I faced a weird problem:
At first,my parameters are:
epoch:10
bantch-size:1
class:2
and the train.py ran successfully!
However,when I increased batch-size from 1 to 2(and 3,I tried),but without changing any other parameters,the runtimeError occured:
RuntimeError: Trying to resize storage that is not resizable
I don't know how to solve it
Thanks!

@wisezhou
Copy link

wisezhou commented Mar 8, 2024

hi,! i have the same problem have you solve it? thank you

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