-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstart_full_training.sh
More file actions
executable file
·49 lines (43 loc) · 1.39 KB
/
start_full_training.sh
File metadata and controls
executable file
·49 lines (43 loc) · 1.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#!/bin/bash
# NEST Full Training for M2 Air
# Uses MPS (Metal Performance Shaders) GPU acceleration
# Estimated time: 4-8 hours (vs 2-3 days on CPU)
echo "======================================================================"
echo " NEST: Full Training on Real ZuCo - M2 Air Optimized"
echo "======================================================================"
echo ""
echo "Configuration:"
echo " - Device: M2 Air with MPS (GPU acceleration)"
echo " - Epochs: 100"
echo " - Dataset: Real ZuCo (~20,000 samples)"
echo " - Estimated time: 4-8 hours"
echo ""
echo "IMPORTANT:"
echo " - Keep MacBook plugged in"
echo " - Don't close this terminal"
echo " - Results: results/real_zuco_*/"
echo ""
read -p "Start training? [y/N] " -n 1 -r
echo
if [[ ! $REPLY =~ ^[Yy]$ ]]
then
echo "Cancelled."
exit 1
fi
echo ""
echo "Starting GPU-accelerated training..."
echo ""
# Activate virtual environment
source .venv-1/bin/activate
# Start training
python scripts/train_with_real_zuco.py --epochs 100
echo ""
echo "======================================================================"
echo " Training Complete!"
echo "======================================================================"
echo ""
echo "Next steps:"
echo " 1. Check results: ls -lh results/real_zuco_*/"
echo " 2. Verify metrics: python scripts/verify_results.py"
echo " 3. Generate figures: python scripts/generate_figures.py"
echo ""