File size: 335 Bytes
309b968
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
#!/bin/sh
# A DaisyChain node: run the dashboard agent in the background, then train.
# After training, keep the agent alive so the dashboard can still show status.
set -e
python -m daisychain.dashboard.agent &
python -m daisychain.train || echo "[node] training exited"
echo "[node] training done — agent still serving status"
wait