【发布时间】:2020-09-30 17:20:02
【问题描述】:
我已将 YOLACT pytorch 模型转换为没有 softmax 和先验层的 onnx。 然后我尝试将 onnx 转换为 coreml。终端显示它没有错误地完成。 它还显示模型编译完成,并且没有错误如下。
210/211: Converting Node Type Concat
211/211: Converting Node Type Concat
Translation to CoreML spec completed. Now compiling the CoreML model.
Model Compilation done.
但是当我在macos上编译coreml模型时,错误显示:
xcrun coremlc compile yolact_test_nosoftmax_simplify.mlmodel
coremlc: Error: compiler error: Espresso exception:
Invalid blob shape generic_elementwise_kernel: cannot broadcast [18, 18, 128, 1, 399] and [35, 35, 128, 1, 399]
我现在不知道如何调试。任何建议将不胜感激。
【问题讨论】:
标签: coreml conv-neural-network onnx onnx-coreml