mirror of
https://github.com/pharmapsychotic/clip-interrogator-ext.git
synced 2026-11-05 01:27:20 +00:00
[GH-ISSUE #38] The size of tensor a (8) must match the size of tensor b (64) at non-singleton dimension #34
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#34
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 @xieanbin on GitHub (Apr 5, 2023).
Original GitHub issue: https://github.com/pharmapsychotic/clip-interrogator-ext/issues/38
how to fix

@Photodeus commented on GitHub (Apr 11, 2023):
Likely a duplicate to https://github.com/pharmapsychotic/clip-interrogator-ext/issues/33
@Photodeus commented on GitHub (Apr 11, 2023):
Also this, a closed issue
https://github.com/pharmapsychotic/clip-interrogator-ext/issues/21
@Dahvikiin commented on GitHub (Apr 23, 2023):
use the previous commit 1ecedb5 which uses clip-interrogator 0.6.0.
@jcrsantiago commented on GitHub (May 18, 2023):
I can't get it to work either. I have tried both the lastest version and 1ecedb5
@Dahvikiin commented on GitHub (May 18, 2023):
interesting, in "venv\Libsite-packages" delete the folders (should be 2) called "clip_interrogator" and "clip_interrogator-0.6.0" (if clip_interrogator-0.5.4 exists, the same). Although it is also true that I use a more recent version of
transformers.@jcrsantiago commented on GitHub (May 20, 2023):
Which version of transfers do you use? Are you using it with 1ecedb5
@Dahvikiin commented on GitHub (May 23, 2023):
Sorry i didn't see your message! currently i use
transformers==4.29.2, but you can use previous versions, always higher than=4.25.1, and yes that commit (i made a fork for myself, i didn't want to unintentionally update the extension and have it break again). i had no problem. if you want to update transformers editrequirements_versions.txt(don't forget to restore it before updating AUTO1111 or whatever you are using).you may also need to delete the folders "
clip_interrogator" and "clip_interrogator-0.6.0.dist-info" in \venv\Lib\site-packages.@ronbere commented on GitHub (Jun 24, 2023):
same issue with your fork...Loading CLIP model...
Loaded CLIP model and data in 3.89 seconds.
The size of tensor a (8) must match the size of tensor b (64) at non-singleton dimension 0
@Grocel commented on GitHub (Sep 1, 2023):
Error happens again as reported in issue https://github.com/pharmapsychotic/clip-interrogator-ext/issues/64.