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

pytorch doesn't like onnx models that leela2onnx produces #1736

Open
mooskagh opened this issue Apr 21, 2022 · 0 comments
Open

pytorch doesn't like onnx models that leela2onnx produces #1736

mooskagh opened this issue Apr 21, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@mooskagh
Copy link
Member

Code to reproduce.

from onnx2pytorch import ConvertModel
onnx_model = onnx.load("generated_network.onnx")
onnx.checker.check_model(onnx_model)
pytorch_model = ConvertModel(onnx_model)

Error:

KeyError 'kernel_size'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant