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