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

Different shape of input (1, C, H, W) #29

Open
longlivelonger opened this issue May 7, 2021 · 1 comment
Open

Different shape of input (1, C, H, W) #29

longlivelonger opened this issue May 7, 2021 · 1 comment

Comments

@longlivelonger
Copy link

Hi, my tflite model converted from Pytorch has input shape [1, C, H, W]. But TensorImage always gives me a tensor with shape [H, W, C]. I just gave up on reading source code. Please could you give me a clue on how to moveaxis or another solution to this case?

InputTensor of model has shape [1, 3, 240, 240] .
OutputTensor has shape [1,1].
Its regression task.

@SmiffyKMc
Copy link

Have you managed to progress on this?

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

2 participants