简体   繁体   English

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

[英]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_detectionsdetection_boxesdetection_scoresdetection_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.

相关问题 输入张量与 Tensorflow object 检测中的 Python 签名不兼容 - Input tensor incompatible with Python signature in Tensorflow object detection TensorFlow对象检测API-源代码中Tensor的维数不正确? - TensorFlow Object Detection API - Incorrect Dimensionality of Tensor in Source Code? 标准化 Tensorflow object 检测 API 的输入 - Normalize input for Tensorflow object detection API 如何在Tensorflow中重命名操作的输入张量名称? - How can I rename the input tensor name of an op in Tensorflow? 如何评估预训练的 model Tensorflow Object 检测 ZDB974238714CA38DE634A7CE1ZF0 - How can I evaluate pre-trained model Tensorflow Object Detection API 无法导出 TensorFlow Object 检测 API - Can't export TensorFlow Object Detection API 实时检测到 object 并在文本文件中打印 output 时如何提示输入框? (Tensorflow Object检测) - How to prompt an input box when an object is detected in real time and have the output printed in a textfile? (Tensorflow Object Detection) 我如何使用 tensorflow 对象检测来仅检测人? - How can i use tensorflow object detection to only detect persons? 对象检测tensorflow api中的ssd mobilenet v1可以尝试使用不同于默认值的调整大小形状吗? - Can ssd mobilenet v1 in object detection tensorflow api be tried with different resize shapes than the default ones? 如何使用Tensorflow对象检测API提高对象检测的精度? - How to improve precision of object detection using tensorflow object detection API?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM