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

there is a matrix shape error in clip_textmodel.py #1

Open
kopper-xdu opened this issue Sep 7, 2022 · 1 comment
Open

there is a matrix shape error in clip_textmodel.py #1

kopper-xdu opened this issue Sep 7, 2022 · 1 comment

Comments

@kopper-xdu
Copy link

File "C:\Users\wang\PycharmProjects\stablediffusion\stablefusion\clip_textmodel.py", line 16, in triu_onnx
return mask * x
RuntimeError: The size of tensor a (2) must match the size of tensor b (77) at non-singleton dimension 2

@luohao123
Copy link
Owner

this shouldn't happen, how did u get this error?

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