speed commited on
Commit
a256ce5
·
verified ·
1 Parent(s): 6dd62a6

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -0
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: