Skip to content

Multi Dimension Input #2175

Open
Open
@advian123

Description

@advian123

Question

Hi, I have tensorflow model pb file which is multidimensional input, how can I pass that as command line argument?

Further information

Input node name: TensorInput: 0
Input shape is [?, 1024, 1024, 3] , [?1024, 1024, 3]

I'm passing this as an argument:
python -m tf2onnx.convert --saved-model test_model.pb --inputs TensorInput:0[[-1,1024,1024,3],[-1,1024,1024,3] --output model.onnx --outputs decoder:0

-1 because in readme it is written to us -1 for unknown dimension

Metadata

Metadata

Assignees

No one assigned

    Labels

    pending on user responseWaiting for more information or validation from userquestionAn issue, pull request, or discussion needs more information

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions