mirror of
https://github.com/openai/CLIP.git
synced 2026-11-05 01:37:26 +00:00
[GH-ISSUE #4] colab is broken ? #6
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
openai/CLIP#6
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 @evanthebouncy on GitHub (Jan 6, 2021).
Original GitHub issue: https://github.com/openai/CLIP/issues/4
this cell:
tokenizer = SimpleTokenizer()
text_tokens = [tokenizer.encode("This is " + desc + "<|endoftext|>") for desc in texts]
when you run it, generates the following error:
NameError Traceback (most recent call last)
in ()
----> 1 tokenizer = SimpleTokenizer()
2 text_tokens = [tokenizer.encode("This is " + desc + "<|endoftext|>") for desc in texts]
NameError: name 'SimpleTokenizer' is not defined
@jongwook commented on GitHub (Jan 6, 2021):
Hi, there is a hidden cell above that in the "text preprocessing" section. Could you check if that cell was executed?
@evanthebouncy commented on GitHub (Jan 7, 2021):
sorry I must have missed that cell. this has been resolved. thanks !
SimpleTokenizerfor SAM3 text tokenizer convenience #518