snn_toolbox
snn_toolbox copied to clipboard
ONNX model could not be ported to Keras.Mismatched elements 100%
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:
What should I do? Thanks!
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