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

ONNX model could not be ported to Keras.Mismatched elements 100% #130

Closed
hxliu4mcgill opened this issue Sep 21, 2022 · 1 comment
Closed
Assignees

Comments

@hxliu4mcgill
Copy link

I encounter an issue when trying to convert a pretrained Pytorch Alexnet model to SNN. I read the code and found that pytorch_input_lib.py is used to convert Pytorch model to Keras model. But the error comes up as below:
image
What should I do? Thanks!

@rbodo
Copy link
Contributor

rbodo commented Sep 26, 2022

You should be able to fix the error by adding ZeroPadding layers as suggested in the console output.

Please see also this related issue: #96

@rbodo rbodo closed this as completed Dec 7, 2022
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