AssertionError: Im2Col_0: ConvolutionInputGenerator1D works only for 1D convs #602
Answered
by
fpjentzsch
sakshigoel155
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
fpjentzsch
Nov 29, 2023
Replies: 1 comment 3 replies
-
Hi, running into almost the exact same error and didn't want to open a new thread if this one exists. Did you by chance find a way to fix the error or does anyone else know how? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, this case of a non-square feature map should be supported by the RTL version of the ConvolutionInputGenerator node (as opposed to the HLS implementation that is the default). You could try to enable it by either
a) settting
force_rtl_conv_inp_gen = True
in the build cfg (see here)b) inferring the layer using
InferConvInpGen(use_rtl_variant=True)
I would also recommend to use the FINN dev branch, if you are not doing that already.