The compilation model of the CoreML model. An error compilation model prepared in keras with an injectable layer as the first layer.

I trained a simple model in keras and its first layer is the Embedding layer as shown below:

enter image description here

I converted the model to .mlmodel, but when I try to compile the code in Xcode I get this error:

/mlkitc: compiler error: Inner product layer: dense_1: Product of input C,H,W (32,1,1) must be equal to the input channels (16000)

Is there a conversion issue?

+3


source to share





All Articles