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

RuntimeError: output shape [1,1280, 960] does not match with the broad cast shape [3,1280,960] #6

Closed
moni-learn010 opened this issue Jul 29, 2022 · 2 comments

Comments

@moni-learn010
Copy link

moni-learn010 commented Jul 29, 2022

Hello, I was trying to run the Donut model for SROIE data for KIE task. While training, it gives the this runtime error: output shape [1,1280, 960] does not match with the broad cast shape [3,1280,960]. Can anyone please help me out how to resolve this issue?

@moni-learn010 moni-learn010 changed the title RuntimeError: output shape [3,1280, 960] does not match with the broad cast shape [1,1280,960] RuntimeError: output shape [1,1280, 960] does not match with the broad cast shape [3,1280,960] Jul 29, 2022
@gwkrsrch
Copy link
Collaborator

Hi, thank you for the report. This fix would probably solve the issue. Please let me know if there is any issues :)

@moni-learn010
Copy link
Author

Thanks for your quick response. Yes, the issue is resolved. Appreciate it

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