There is a newer version of the record available.

Published September 25, 2022 | Version 1.5.38
Software Open

Tools to convert ONNX files (NCHW) to TensorFlow format (NHWC)

Authors/Creators

Description

  • Fixed the number of NMS outputs to be fixed outputs in max_output_boxes_per_class. -onwdt option to generate a dynamic tensor. Taking into account that tflite's primary use is for Android, change the behavior so that it is replaced with a fixed output shape by default.

    -onwdt, --output_nms_with_dynamic_tensor
      The number of bounding boxes in the NMS output results is
      not fixed at the maximum number of max_output_boxes_per_class,
      but rather at the smallest possible number of dynamic tensors.
      If this option is disabled, NMS output is padded to the number
      set in the max_output_boxes_per_class attribute.
      e.g.
      disable --output_nms_with_dynamic_tensor:
          output_tensor_shape: [100, 7]
      enable --output_nms_with_dynamic_tensor:
          output_tensor_shape: [N, 7]
    
    • disable -onwdt

    • enable -onwdt

Yolov7-tiny to TensorflowLite comversion results in a dynamic output model incompatible with TfLite Java API #159

What's Changed

Full Changelog: https://github.com/PINTO0309/onnx2tf/compare/1.5.37...1.5.38

Notes

If you use onnx2tf in your research, please cite it using these metadata.

Files

PINTO0309/onnx2tf-1.5.38.zip

Files (453.0 kB)

Name Size Download all
md5:a42bbadba14de7fdd1295db628fb3ae3
453.0 kB Preview Download

Additional details

Related works