Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to change tensor's value order #493

Open
Titibo26 opened this issue Jan 21, 2021 · 0 comments
Open

How to change tensor's value order #493

Titibo26 opened this issue Jan 21, 2021 · 0 comments

Comments

@Titibo26
Copy link

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,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant