fnruha0921's picture
add code
eea5f0e verified
Raw History Blame Contribute Delete
406 Bytes
#!/bin/bash
# When the Siamese run writes its ~60-min snapshot, stop it and fine-tune the hybrid from it.
cd /workspace
until ls siam_v2_m6*.pt siam_v2_m5[5-9]*.pt >/dev/null 2>&1; do sleep 15; done
SNAP=$(ls -t siam_v2_m*.pt | head -1); sleep 5
pkill -f train3.py; sleep 10
nohup python train4.py 60 /workspace/$SNAP /workspace/unet_run2_final.pt > train4.log 2>&1 < /dev/null &
echo CHAIN3_STARTED $SNAP