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: shape '[1, 124]' is invalid for input of size 15872 #228

Open
JohnConnor123 opened this issue Sep 11, 2024 · 0 comments
Open

Comments

@JohnConnor123
Copy link

JohnConnor123 commented Sep 11, 2024

Code to reproduce:

import onnx
from onnx2torch import convert

onnx_model = onnx.load("cifar10-model.onnx")
model = convert(onnx_model)
model(torch.randn(128, 3, 32, 32))

Model to reproduce (rename .txt to .onnx):
model.txt

Traceback:
image

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