Upload folder using huggingface_hub
Browse files- README.md +21 -0
- classifier.pt +3 -0
- config.json +6 -0
README.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# COPUS Classifier
|
| 2 |
+
|
| 3 |
+
Classifier head for COPUS action recognition, trained on MiniCPM-V-4_5 features.
|
| 4 |
+
|
| 5 |
+
## Usage
|
| 6 |
+
|
| 7 |
+
```python
|
| 8 |
+
# Load classifier
|
| 9 |
+
classifier = torch.load('classifier.pt')
|
| 10 |
+
|
| 11 |
+
# Extract features from video
|
| 12 |
+
features = extract_features(frames, temporal_ids)
|
| 13 |
+
|
| 14 |
+
# Predict
|
| 15 |
+
logits = classifier(features)
|
| 16 |
+
predictions = torch.sigmoid(logits) > 0.5
|
| 17 |
+
```
|
| 18 |
+
|
| 19 |
+
## Actions: 24
|
| 20 |
+
|
| 21 |
+
Trained on: 2025-11-06
|
classifier.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9f687ed422616cc4165fc683ce47348cf87a6bb89b35cf26b2964fc9393d2c63
|
| 3 |
+
size 18933177
|
config.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"base_model": "openbmb/MiniCPM-V-4_5",
|
| 3 |
+
"num_classes": 24,
|
| 4 |
+
"epoch": 10,
|
| 5 |
+
"loss": 0.818578880457651
|
| 6 |
+
}
|