mirror of
https://github.com/pharmapsychotic/clip-interrogator-ext.git
synced 2026-11-05 01:27:20 +00:00
[GH-ISSUE #21] The size of tensor a (8) must match the size of tensor b (64) at non-singleton dimension 0 #20
Labels
No labels
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
pharmapsychotic/clip-interrogator-ext#20
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @VictorGalu on GitHub (Mar 17, 2023).
Original GitHub issue: https://github.com/pharmapsychotic/clip-interrogator-ext/issues/21
Hello! I can't start interogator-ext. Running on the "Promt" tab interrupts with "Exception <class 'RuntimeError'>". In the terminal the error "The size of tensor a (8) must match the size of tensor b (64) at non-singleton dimension", Tab "Analyze" and "Internal CLIP" and "DeepBooru" work. Can anyone help me with this problem?
@adisakau commented on GitHub (Mar 18, 2023):
I have the same issue. If anyone found a solution, please kindly share.
@sergiobr commented on GitHub (Mar 18, 2023):
I have the same here. Also happens with SmartPreprocess extension. It's working with img2img tab's button Clip Interrogator.
@Vigilence commented on GitHub (Mar 19, 2023):
Same issue.
@VictorGalu commented on GitHub (Mar 19, 2023):
Hi! we found solution: https://github.com/pharmapsychotic/clip-interrogator/pull/63
@Vigilence commented on GitHub (Mar 20, 2023):
How do I implement the solution?
Manually installed transformers 4.26.1 doesn't fix the issue on my end.
@pharmapsychotic commented on GitHub (Mar 20, 2023):
If you have another extension installed like Dreambooth which is pinning 4.27 then each time you run auto1111 it may install the newer transformers which breaks CLIP Interrogator. Working on update now so that transformers 4.27 can be supported.
@Vigilence commented on GitHub (Mar 20, 2023):
That's exactly the issue I have. Thank you for looking into a fix. ❤
@pharmapsychotic commented on GitHub (Mar 20, 2023):
@Vigilence can you give it a try now? After updating extension you will need full restart of the webui.
@Vigilence commented on GitHub (Mar 20, 2023):
Working great, thank you!
@pharmapsychotic commented on GitHub (Mar 21, 2023):
okay that's good news!