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

Image / tensor shapes #4

Open
kiru883 opened this issue Apr 3, 2023 · 1 comment
Open

Image / tensor shapes #4

kiru883 opened this issue Apr 3, 2023 · 1 comment

Comments

@kiru883
Copy link

kiru883 commented Apr 3, 2023

Hi, i ran into a problem with image shapes. I use mindspore-cpu and computation time on cpu is really long.

Question: Model input is tensor with shape [n_views, ... 3, 1920, 1056], how can i reduce size of tensor, change image sizes or n_views? I tried change sizes to [256, 256], [640, 352] and etc, but i have a problem with it, "element1_shape of size 88 not compatible with element2_shape of size 255".

Thanks, I hope for your answer.

@NoOneUST
Copy link
Owner

I'm sorry for not getting back to you sooner. We did not test different tensor shapes using the MindSpore code.

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