We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e6ef80 commit 112c7f9Copy full SHA for 112c7f9
docs/hub/open_clip.md
@@ -34,6 +34,7 @@ Once loaded, you can encode the image and text to do [zero-shot image classifica
34
```py
35
import torch
36
from PIL import Image
37
+import requests
38
39
url = 'http://images.cocodataset.org/val2017/000000039769.jpg'
40
image = Image.open(requests.get(url, stream=True).raw)
0 commit comments