Converting TFLite to Kmodel

Hi, I’ve been trying to convert a TFlite model to a KMODEL using the provided tflite2kmodel.sh on Ubuntu. The error I receive is “Fatal: Layer Pad is not supported: Only paddings of [[0,0],[1,1],[1,1],[0,0]] is supported. NnCase.Converter.Converters.LayerNotSupportedException: Layer Pad is not supported: Only paddings of [[0,0],[1,1],[1,1],[0,0]] is supported
at NnCase.Converter.Converters.TfLiteToGraphConverter.ConvertPad(Operator op) in D:\Work\Repository\nncase\src\NnCase.Converter\Converters\TfLiteToGraphConverter.cs:line 129.”

Is this the result of bad formatting in the TFLite or something else? Any assistance would be appreciated.

1 Like

I have the same error. Could you solve the issue in the meantime? Any help would be appreciated.

Same here! Did anyone work it out?