mirror of
https://github.com/pharmapsychotic/clip-interrogator-ext.git
synced 2026-11-05 01:27:20 +00:00
[GH-ISSUE #48] Can't find vocabulary file at path... #45
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#45
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 @tgitit on GitHub (May 24, 2023).
Original GitHub issue: https://github.com/pharmapsychotic/clip-interrogator-ext/issues/48
I've just installed the extension but now I'm stuck.
When I try to do an analysis on an image, I get this error:
ValueError: Can't find a vocabulary file at path 'C:\Users\xxxxx/.cache\huggingface\hub\models--bert-base-uncased\snapshots\0a6aa9128b6194f4f3c4db429b6cb4891cdb421b\vocab.txt'. To load the vocabulary from a Google pretrained model use
tokenizer = BertTokenizer.from_pretrained(PRETRAINED_MODEL_NAME)How can I solve this?
@pharmapsychotic commented on GitHub (Jun 11, 2023):
Try deleting the
C:\Users\xxxxx/.cache\huggingface\hub\folder. It may have had an error downloading files and left you with some missing or corrupt files. It's safe to delete that folder and it will just download it again.