fnruha0921's picture
add code
eea5f0e verified
Raw History Blame Contribute Delete
339 Bytes
#!/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