[英]How can I change the default output, input tensor names in tensorflow object detection API?
Tensorflow object detection API by default has output tensor names num_detections , detection_boxes , detection_scores and detection_classes .默认情况下,Tensorflow 对象检测 API 具有输出张量名称num_detections 、 detection_boxes 、 detection_scores和detection_classes 。 How can I change these default names ?
如何更改这些默认名称? Unfortunately an inference platform that I am testing does not accept tensor names with underscores.
不幸的是,我正在测试的推理平台不接受带下划线的张量名称。 Thank you ..
谢谢 ..
The output tensor names are defined in the "meta_architectures" python files in the object detection project which can be found here .输出张量名称在对象检测项目中的“meta_architectures”python 文件中定义,可在此处找到。 You could try to adjust/convert the naming of the output tensors there for when you are doing the model export for inference but I haven't tried this myself.
当您进行模型导出以进行推理时,您可以尝试调整/转换输出张量的命名,但我自己还没有尝试过。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.