Update README.md
Browse files
README.md
CHANGED
|
@@ -1,21 +1,29 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
base_model:
|
| 6 |
+
- openbmb/MiniCPM-V-4_5
|
| 7 |
+
pipeline_tag: visual-question-answering
|
| 8 |
+
---
|
| 9 |
+
# COPUS Classifier
|
| 10 |
+
|
| 11 |
+
Classifier head for COPUS action recognition, trained on MiniCPM-V-4_5 features.
|
| 12 |
+
|
| 13 |
+
## Usage
|
| 14 |
+
|
| 15 |
+
```python
|
| 16 |
+
# Load classifier
|
| 17 |
+
classifier = torch.load('classifier.pt')
|
| 18 |
+
|
| 19 |
+
# Extract features from video
|
| 20 |
+
features = extract_features(frames, temporal_ids)
|
| 21 |
+
|
| 22 |
+
# Predict
|
| 23 |
+
logits = classifier(features)
|
| 24 |
+
predictions = torch.sigmoid(logits) > 0.5
|
| 25 |
+
```
|
| 26 |
+
|
| 27 |
+
## Actions: 24
|
| 28 |
+
|
| 29 |
+
Trained on: 2025-11-06
|