Download code/chain3.sh from fnruha0921/knps-change-detection-tmp: direct link, hf CLI and curl.
- Browser
- Download file 406 Bytes
-
https://huggingface.co/fnruha0921/knps-change-detection-tmp/resolve/main/code/chain3.sh
- Command line
-
hf download hf://fnruha0921/knps-change-detection-tmp/code/chain3.sh
-
curl -L -o chain3.sh https://huggingface.co/fnruha0921/knps-change-detection-tmp/resolve/main/code/chain3.sh
406 Bytes
| # 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 | |