Tensorflow 如何在tflite\u convert中知道我的--output\u数组

Tensorflow 如何在tflite\u convert中知道我的--output\u数组,tensorflow,object-detection,tensorflow-lite,Tensorflow,Object Detection,Tensorflow Lite,我正在尝试使用tflite\u convert将我的.pb转换为.tflite 我如何知道我的--output_数组 我正在使用ssd\u mobilenet\u v2\u coco\u 2018\u 03\u 29 这是我当前的代码: tflite_convert --output_file=C:/tensorflow1/models/research/object_detection/inference_graph/detect.tflite --graph_def_file=C:/tens

我正在尝试使用tflite\u convert将我的.pb转换为.tflite

我如何知道我的--output_数组

我正在使用ssd\u mobilenet\u v2\u coco\u 2018\u 03\u 29

这是我当前的代码:

tflite_convert --output_file=C:/tensorflow1/models/research/object_detection/inference_graph/detect.tflite --graph_def_file=C:/tensorflow1/models/research/object_detection/inference_graph/tflite_graph.pb --inference_type=FLOAT --inference_input_type=QUANTIZED_UINT8 --input_arrays=ImageTensor --input_shapes=1,513,513,3 --output_arrays=SemanticPredictions --mean_values=128 --std_dev_values=128 --allow_custom_ops

它会产生错误:

此图中的任何操作都不会生成指定的输出数组“SemanticPredictions”

一个选项是用于可视化图形

点击一个特定的层会给出它的名字,在本例中是:**MobilenetV1/Predictions/Softmax**

我希望有帮助:)