小编aku*_*uba的帖子

如何在java中读取tensorflow模型的输出

我尝试将 TensorflowLite 与来自https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/detection_model_zoo.md 的ssdlite_mobilenet_v2_coco 模型一起使用,该模型转换为 tflite 文件,以从我的 Android 应用程序(java )。我执行

    interpreter.run(input, output);
Run Code Online (Sandbox Code Playgroud)

其中输入是转换为 ByteBuffer 的图像,输出是浮点数组 - 大小 [1][10][4] 以匹配张量。

如何将此浮点数组转换为一些可读的输出?- 例如获取边界框坐标、对象名称、概率。

tensorflow tensorflow-lite

2
推荐指数
1
解决办法
3925
查看次数

标签 统计

tensorflow ×1

tensorflow-lite ×1