Skip to content

--inputs-as-nchw: inputs in NCHW format and outputs in NHWC format #938

@Patrick-PhoenixAI

Description

@Patrick-PhoenixAI

Describe the bug
the --inputs-as-nchw parameter let me feed the model using NCHW format
However the model is outputting NHWC format
by making a transpose at the end of the model.

System information

  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Unbuntu 18.04
  • Tensorflow Version: TensorFlow 1.15
  • Python version: 3.6

Expected behavior
Inputs and outputs in NCHW format.

Additional context
I am converting the TensorFlow model on a host PC without GPU but
I am using the ONNX model on an NVIDIA Jetson embedded platform.

Metadata

Metadata

Assignees

No one assigned

    Labels

    pending on user responseWaiting for more information or validation from user

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions