CoreML模型编译错误编译模型在keras中训练,嵌入层为第一层

时间:2017-06-20 04:28:03

标签: swift xcode machine-learning keras coreml

我在keras中训练了一个简单的模型,它的第一层是嵌入层,如下所示:

enter image description here

我将模型转换为.mlmodel但是当我尝试在Xcode中编译代码时出现此错误:

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

这可能是转换的问题吗?

0 个答案:

没有答案