Download code/chain.sh from fnruha0921/knps-change-detection-tmp: direct link, hf CLI and curl.
- Browser
- Download file 432 Bytes
-
https://huggingface.co/fnruha0921/knps-change-detection-tmp/resolve/main/code/chain.sh
- Command line
-
hf download hf://fnruha0921/knps-change-detection-tmp/code/chain.sh
-
curl -L -o chain.sh https://huggingface.co/fnruha0921/knps-change-detection-tmp/resolve/main/code/chain.sh
432 Bytes
| # Start run 2 as soon as run 1 finishes (GPU never idles); include extra FLAIR if it is ready within 10 min. | |
| cd /workspace | |
| until grep -q TRAIN_DONE train.log; do sleep 10; done | |
| cp unet_synth.pt unet_run1_25m.pt | |
| for i in $(seq 60); do grep -q MORE_DONE more.log && break; sleep 10; done | |
| nohup python train2.py 330 /workspace/unet_run1_25m.pt 2e-4 /workspace/unet_synth2 > train2.log 2>&1 < /dev/null & | |
| echo CHAIN_STARTED | |