"""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")