Update README.md
Browse files
README.md
CHANGED
|
@@ -1,5 +1,6 @@
|
|
| 1 |
Example to use pretrained checkpoints.
|
| 2 |
|
|
|
|
| 3 |
from huggingface_hub import hf_hub_download
|
| 4 |
import torch
|
| 5 |
import clip
|
|
@@ -61,4 +62,8 @@ Example to use pretrained checkpoints.
|
|
| 61 |
event = transform(event)
|
| 62 |
event = event.cuda().unsqueeze(0)
|
| 63 |
|
| 64 |
-
logits_per_event, _ = model(event, text)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
Example to use pretrained checkpoints.
|
| 2 |
|
| 3 |
+
|
| 4 |
from huggingface_hub import hf_hub_download
|
| 5 |
import torch
|
| 6 |
import clip
|
|
|
|
| 62 |
event = transform(event)
|
| 63 |
event = event.cuda().unsqueeze(0)
|
| 64 |
|
| 65 |
+
logits_per_event, _ = model(event, text)
|
| 66 |
+
|
| 67 |
+
|
| 68 |
+
arxiv.org/abs/2505.02393
|
| 69 |
+
arxiv.org/abs/2412.03093
|