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

训练过程中未知错误 #98

Open
LiuJingCheng6 opened this issue Jan 18, 2024 · 1 comment
Open

训练过程中未知错误 #98

LiuJingCheng6 opened this issue Jan 18, 2024 · 1 comment

Comments

@LiuJingCheng6
Copy link

Uploading image.png…
这是什么情况,我只用了一张显卡训练,但是提示这样的错误

@LiuJingCheng6
Copy link
Author

occformer/lib/python3.7/site-packages/torch/nn/functional.py", line 2248, in _verify_batch_size
raise ValueError("Expected more than 1 value per channel when training, got input size {}".format(size))
ValueError: Expected more than 1 value per channel when training, got input size torch.Size([1, 33])

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