-
Hi, I am trying to implement a UNet using FINN, and need to use transposed convolutions for upsampling purposes. I noticed when trying to export the Brevitas model that the QuantConvTranspose2d layer was not supported for export. I assume this on the roadmap to expand FINN's features. Regards, Hugo |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi, |
Beta Was this translation helpful? Give feedback.
Hi,
So, for the record, you can replace a ConvTranspose2d layer by an interpolate followed by a regular Conv2d layer at the expense of a small loss in accuracy. This then converts into a QuantUpsample and QuantConv2d in Brevitas, which are compatible with FINN export.