Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/hub/open_clip.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ Once loaded, you can encode the image and text to do [zero-shot image classifica
```py
import torch
from PIL import Image
import requests

url = 'http://images.cocodataset.org/val2017/000000039769.jpg'
image = Image.open(requests.get(url, stream=True).raw)
Expand Down
Loading