Skip to content

How to change tensor's value order #493

Open
@Titibo26

Description

HI,
I want to use a model ( https://docs.openvinotoolkit.org/latest/omz_models_public_midasnet_midasnet.html ) where shape should be : {1,3,384,384}.
When i'm importing an image and using "CreateTensorFromImageFile", the shape is {1,384,384, 3}.
I can't find a way to make my data correct.

Also the input name should be "image" and the output name should be "inverse_depth" but when i call "var a = graph.GetEnumerator();" i can't find none of them. How can i know which input and output should i use ?

Thank you,

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions