Update README.md
Browse files
README.md
CHANGED
@@ -44,6 +44,7 @@ with torch.no_grad(), torch.cuda.amp.autocast():
|
|
44 |
text_probs = (100.0 * image_features @ text_features.T).softmax(dim=-1)
|
45 |
|
46 |
print("Label probs:", text_probs)
|
|
|
47 |
```
|
48 |
|
49 |
Reference:
|
|
|
44 |
text_probs = (100.0 * image_features @ text_features.T).softmax(dim=-1)
|
45 |
|
46 |
print("Label probs:", text_probs)
|
47 |
+
# Label probs: tensor([[9.9425e-01, 5.2273e-03, 5.2600e-04]])
|
48 |
```
|
49 |
|
50 |
Reference:
|