如何更改默认输出,在张量流对象检测中输入张量名称 API?

How can I change the default output, input tensor names in tensorflow object detection API?

Tensorflow 对象检测 API 默认情况下输出张量名称 num_detections , detection_boxes , detection_scoresdetection_classes 。如何更改这些默认名称?不幸的是,我正在测试的推理平台不接受带下划线的张量名称。 谢谢..

输出张量名称在对象检测项目的“meta_architectures”python 文件中定义,可在 here 中找到。 当您进行模型导出以进行推理时,您可以尝试 adjust/convert 输出张量的命名,但我自己没有尝试过。