File size: 339 Bytes
eea5f0e
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
#!/bin/bash
# When run 2 writes its 1-hour snapshot, stop it and start the Siamese run (GPU never idles).
cd /workspace
until ls unet_synth2_h1.pt >/dev/null 2>&1; do sleep 10; done
sleep 5; pkill -f train2.py; sleep 10
cp unet_synth2.pt unet_run2_final.pt
nohup python train3.py 120 32 > train3.log 2>&1 < /dev/null &
echo CHAIN2_STARTED