File size: 561 Bytes
83e3e20
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
"""Verify GunDetector.pt is prioritized"""
from config import get_model_path

weapon_gun_path = get_model_path('weapon', 'gun')
print("=== WEAPON MODEL CHECK ===\n")
print(f"Primary weapon model: {weapon_gun_path}")
print(f"Using GunDetector.pt: {'✓ YES' if 'GunDetector' in str(weapon_gun_path) else '✗ NO'}")
print(f"File exists: {weapon_gun_path.exists() if weapon_gun_path else False}\n")

if 'GunDetector' in str(weapon_gun_path):
    print("✅ GunDetector.pt is now the primary weapon model!")
else:
    print("❌ Still using best.pt")