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

issue on shape of underlying tensors #14

Open
Olivier-aka-Raiden opened this issue Sep 2, 2023 · 1 comment
Open

issue on shape of underlying tensors #14

Olivier-aka-Raiden opened this issue Sep 2, 2023 · 1 comment

Comments

@Olivier-aka-Raiden
Copy link

Hi, I wanted to give it a try and when trying to do inferance on the base model, I get an error as follows :
IndexError: The shape of the mask [1, 4] at index 0 does not match the shape of the indexed tensor [8, 5] at index 0

I tried with jpg and png image, both have the exact output. Also, using the python example code didn't change anything, error is the same.
Is it because of new tensorflow version ? Can you help me fix the code to make it work ? Probably the definition of the dtype is incorrect.

@rsommerfeld
Copy link
Owner

Hi, have you been able to resolve your problem? If not, can you provide more details? All parts of the repository are still working on a clean setup for me. The repository also relies on pytorch, not tensorflow.

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