[英]Segmentation fault (core dumped) - TFLite
描述问题
要从官方TensorFlow 源(COCO SSD MobileNet v1)读取 model 并使用minimum.cc执行推理,我们得到以下错误。
系统信息
当您遇到问题时,请提供确切的命令/步骤顺序
root@analytics:~# ./minimal ssd_mobilenet_v1_1_metadata_1.tflite
minimal: /usr/src/debug/tensorflow-lite/1.0-r0/git/tensorflow/contrib/lite/tools/make/downloads/eigen/unsupported/Eigen/CXX11/src/util/
MaxSizeVector.h:84: T& EigenForTFLite::MaxSizeVector<T>::operator[](std::size_t) [with T = EigenForTFLite::RunQueue
<EigenForTFLite::StlThreadEnvironment::Task, 1024u>*; std::size_t = unsigned int]:
Assertion `i < size_' failed.
Segmentation fault (core dumped)
您对我们为什么会遇到此错误有任何想法或建议(因为版本、TFlite 二进制文件或 model 等)? 先感谢您。
看起来 TensorFlow Lite 版本太旧,无法支持。 请考虑使用 TF 2.5 或更高版本。
你好,你应该关心tflite来自哪里,tflite版本是错误的
我遇到了类似的情况,我的解释器 object 给出了Segmentation fault (core dumped)错误。 在调试时我发现问题出在
然后我使用 git 在服务器之间传输文件,它有帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.