From 716428ec0bbfc57ce54f2a39602a55b8af7a7a98 Mon Sep 17 00:00:00 2001 From: Stupdi Go Date: Sun, 11 Jan 2026 16:02:57 -0600 Subject: [PATCH] AI, better than 60 percent bro PLEASE --- training.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/training.py b/training.py index 7c0a7c0..6e2607c 100644 --- a/training.py +++ b/training.py @@ -417,8 +417,6 @@ def main(): # Training loop best_acc = 0.0 - patience = 15 - wait = 0 epochs = 60 print("\n" + "=" * 60) @@ -473,7 +471,6 @@ def main(): # Save best model if test_acc > best_acc: best_acc = test_acc - wait = 0 torch.save({ 'model': model.state_dict(), 'optimizer': optimizer.state_dict(), @@ -488,13 +485,8 @@ def main(): }, "best_asl_transformer.pth") print(f" → New best: {best_acc:.2f}% ✓") else: - wait += 1 print() - if wait >= patience: - print(f"\nEarly stopping triggered at epoch {epoch + 1}") - break - print("\n" + "=" * 60) print(f"✓ Training complete!") print(f"✓ Best test accuracy: {best_acc:.2f}%")