Skip to content

Commit cee60e6

Browse files
Create quick execution script for Phase1 training
1 parent 6cd0007 commit cee60e6

1 file changed

Lines changed: 38 additions & 0 deletions

File tree

run_phase1_training.py

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
#!/usr/bin/env python3
2+
"""
3+
🚀 Quick Execution Script for Phase1 Training
4+
Run this to start the Phase1 integration training and see the novelty in action!
5+
"""
6+
7+
import sys
8+
import os
9+
import subprocess
10+
11+
def main():
12+
print("🧠 Starting Phase1 Training: Adaptive Spiking Windows + SDT")
13+
print("=" * 60)
14+
15+
try:
16+
# Run the comprehensive training script
17+
result = subprocess.run([
18+
sys.executable, "phase1_comprehensive_training.py"
19+
], capture_output=True, text=True, timeout=3600) # 1 hour timeout
20+
21+
if result.returncode == 0:
22+
print("✅ Training completed successfully!")
23+
print("\n📊 Training Output:")
24+
print(result.stdout)
25+
else:
26+
print("❌ Training failed!")
27+
print("\n🔍 Error Output:")
28+
print(result.stderr)
29+
30+
except subprocess.TimeoutExpired:
31+
print("⏰ Training timed out after 1 hour")
32+
except Exception as e:
33+
print(f"💥 Unexpected error: {e}")
34+
35+
print("\n🎯 Phase1 Training Session Complete!")
36+
37+
if __name__ == "__main__":
38+
main()

0 commit comments

Comments
 (0)