"SIMD must divide IFMChannels" error but SIMD does divide IFMChannels #666
-
Hi everyone, I want to deploy a custom CNN on my Ultra96V2 board. I am trying to create a custom build flow, inspired from the end2end example notebooks tfc and cnv. When I call the transformation
I tried to use DataflowBuildConfig() and build_dataflow_cfg() functions to build a deployment package instead of a custom flow, but I get a similar error :
Do you know what is going wrong? Julien |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
I know this is a bit late but I finally managed to get it working so I am going to share for anyone who still needed it: Error 2: |
Beta Was this translation helpful? Give feedback.
I know this is a bit late but I finally managed to get it working so I am going to share for anyone who still needed it:
Error 1:
AssertionError: SIMD must divide IFMChannels
: If I remember correctly, this is when the convolution input generators IFMChannels % SIMD != 0. You must open up your ONNX file using Netron and check that.Error 2:
AssertionError: DWC OutWidth is bigger than InWidth and is not divisible by it.
: This one I do not know how to fix the issue it self, because some of the modules you cannot set PE and some you cannot set SIMD so technically it is never achievable. HOWEVER, the solution is to instead use the Vivado config as suggested. Useforce_rtl_conv_inp_gen = True
and