Update README.md
Browse files
README.md
CHANGED
@@ -20,7 +20,8 @@ should probably proofread and complete it, then remove this comment. -->
|
|
20 |
|
21 |
# videomae-base-finetuned-ucfcrime-full2
|
22 |
|
23 |
-
This model is a fine-tuned version of [MCG-NJU/videomae-base](https://huggingface.co/MCG-NJU/videomae-base) on
|
|
|
24 |
It achieves the following results on the evaluation set:
|
25 |
- Loss: 2.5014
|
26 |
- Accuracy: 0.225
|
@@ -101,7 +102,7 @@ with torch.no_grad():
|
|
101 |
outputs = model(**inputs)
|
102 |
logits = outputs.logits
|
103 |
|
104 |
-
# model predicts one of the
|
105 |
predicted_label = logits.argmax(-1).item()
|
106 |
print(model.config.id2label[predicted_label])
|
107 |
```
|
|
|
20 |
|
21 |
# videomae-base-finetuned-ucfcrime-full2
|
22 |
|
23 |
+
This model is a fine-tuned version of [MCG-NJU/videomae-base](https://huggingface.co/MCG-NJU/videomae-base) on the [UCF-CRIME](https://paperswithcode.com/dataset/ucf-crime)
|
24 |
+
dataset.
|
25 |
It achieves the following results on the evaluation set:
|
26 |
- Loss: 2.5014
|
27 |
- Accuracy: 0.225
|
|
|
102 |
outputs = model(**inputs)
|
103 |
logits = outputs.logits
|
104 |
|
105 |
+
# model predicts one of the 13 ucf-crime classes
|
106 |
predicted_label = logits.argmax(-1).item()
|
107 |
print(model.config.id2label[predicted_label])
|
108 |
```
|