Open dschonholtz opened 1 year ago
As a follow up for this, I have a repository that is forked off of this that supports this now: Currently, it is fairly hacky and has some hard coded values for the WINES lab at Northeastern. But it may start as a useful starting point for others. It also has ubuntu 22.04 support changes in it.
HI there,
I am currently trying to generate a hex file for my polarfire board out of a 1d convolution based CNN.
Does this support 1d-convolutions and if so how? When I try to plug the model in I either get a no negative dimensions allowed error when running generate_vnnx here: https://github.com/Microchip-Vectorblox/VectorBlox-SDK/blob/master/python/vbx/vbx/generate/onnx_convert.py#L1746 The batch size becomes -1 and the input size becomes: [-1, 1024, 1]
Or if I specify the batch size to be 1 then I get an error here: https://github.com/Microchip-Vectorblox/VectorBlox-SDK/blob/master/python/vbx/vbx/generate/onnx_modify.py#L795
With an input that looks like this:
So it seems to be expecting things in the format NHWC which is incompatible with my 1d convolution.
Is there some configuration I can do to convert my xml file for my 1d-convolution based network into a hex file or is that not supported?
Thanks a ton, please let me know if you need any additional information from me.
The script I am running is here: