【发布时间】:2018-02-01 00:04:41
【问题描述】:
我正在尝试识别使用 Tensorflow 训练的图像。我关注了这个steps 最后我成功地训练了我自己的数据集并给出了一个很好的预测结果。所有代码都在python中。现在我正在尝试在我的 iOS 项目中使用这个训练有素的模型。我正在关注tutorial 在我的 iOS 项目中使用我训练有素的模型。但是当我按照这些步骤操作时,我的 mac 终端窗口中出现了一个错误,例如 -
"ERROR: /tensorflow/tensorflow/core/kernels/BUILD:2235:1: C++ compilation of rule '//tensorflow/core/kernels:self_adjoint_eig_v2_op' failed: gcc failed: error executing command /usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -B/usr/bin -B/usr/bin -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG ... (remaining 124 argument(s) skipped): com.google.devtools.build.lib.shell.BadExitStatusException: Process exited with status 4. gcc: internal compiler error: Killed (program cc1plus)"。
这个问题的解决方案是什么,或者有什么方法可以将此张量流模型转换为 iOS 支持的 Core ML 模型?在这里,我正在分享该错误的屏幕截图。请帮帮我。谢谢。
【问题讨论】:
标签: ios machine-learning tensorflow neural-network coreml