mirror of
https://github.com/openai/CLIP.git
synced 2026-11-05 01:37:26 +00:00
[GH-ISSUE #406] CLIp png not found #348
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#348
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 @pow9791 on GitHub (Dec 1, 2023).
Original GitHub issue: https://github.com/openai/CLIP/issues/406
I'm trying to run the code on the site. it is giving me this error.
** image = preprocess(Image.open("CLIP.png")).unsqueeze(0).to(device)**
File /opt/homebrew/Cellar/jupyterlab/4.0.7_1/libexec/lib/python3.11/site-packages/PIL/Image.py:3243, in open(fp, mode, formats)
3240 filename = fp
3242 if filename:
-> 3243 fp = builtins.open(filename, "rb")
3244 exclusive_fp = True
3246 try:
FileNotFoundError: [Errno 2] No such file or directory: 'CLIP.png'
@jimurk commented on GitHub (Jan 11, 2024):
How did you solve this problem?
@Len02805 commented on GitHub (Jan 12, 2024):
There is no "CLIP.png" under your directory. Just put a PNG file to the path then the problem solved.