File size: 483 Bytes
4ed7d03
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
"""Quick check of all models"""
from config import get_model_path

print("=== MODEL STATUS ===\n")
models = {
    'violence': get_model_path('violence'),
    'yolo': get_model_path('yolo'),
    'weapon (gun)': get_model_path('weapon', 'gun'),
    'pose': get_model_path('pose'),
    'anomaly': get_model_path('anomaly'),
}

for model_name, path in models.items():
    status = "✓ FOUND" if path and path.exists() else "✗ MISSING"
    print(f"{status:12} {model_name:15} {path}")