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

Is the input size of function "get_model_complexity_info()" must be fixed to 3 demensions? #102

Closed
Zhang-Lilai opened this issue Dec 10, 2022 · 2 comments
Labels
duplicate This issue or pull request already exists question Further information is requested

Comments

@Zhang-Lilai
Copy link

The function has no problem when the input is a 3D Tensor.
However, when we enter a 4D Tensor, this function will report a bug of " wrong dimension":
Expected 3D (unbatched) or 4D (batched) input to conv2d, but got input of size: [1, 1, 3, 224, 1]
I am running a network whose input demension has to be fixed to 4.
Is there any way to enable it to input different dimensions of Tensors?

@sovrasov
Copy link
Owner

Hi! See #14

@sovrasov sovrasov added duplicate This issue or pull request already exists question Further information is requested labels Dec 12, 2022
@Zhang-Lilai
Copy link
Author

Zhang-Lilai commented Dec 12, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants