提交 80268093 编写于 作者: A A. Unique TensorFlower

Internal change

PiperOrigin-RevId: 528558530
上级 1f334deb
...@@ -878,7 +878,7 @@ def update_detection_state(step_outputs=None) -> Dict[str, Any]: ...@@ -878,7 +878,7 @@ def update_detection_state(step_outputs=None) -> Dict[str, Any]:
else: else:
detection_keypoints = None detection_keypoints = None
if detection_keypoints: if detection_keypoints is not None:
state['detection_keypoints'] = tf.concat(detection_keypoints, axis=0) state['detection_keypoints'] = tf.concat(detection_keypoints, axis=0)
detection_masks = step_outputs['visualization'][1].get( detection_masks = step_outputs['visualization'][1].get(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册