Download reproduction/code/driver.sh from eduzrh/helloworld: direct link, hf CLI and curl.
- Browser
- Download file 819 Bytes
-
https://huggingface.co/datasets/eduzrh/helloworld/resolve/main/reproduction/code/driver.sh
- Command line
-
hf download hf://datasets/eduzrh/helloworld/reproduction/code/driver.sh
-
curl -L -o driver.sh https://huggingface.co/datasets/eduzrh/helloworld/resolve/main/reproduction/code/driver.sh
819 Bytes
| # Driver: run remaining seeds for the Bloeschl 2020 reproduction, 4 in parallel. | |
| RUN=/mnt/wisdisk-prod/agents/c537b088-85fe-4864-9217-e71aa7ca0cce/universal_run-c537b088-85fe-4864-9217-e71aa7ca0cce/work/run | |
| MM=/mnt/wisdisk-prod/agents/c537b088-85fe-4864-9217-e71aa7ca0cce/universal_run-c537b088-85fe-4864-9217-e71aa7ca0cce/work/micromamba | |
| export MAMBA_ROOT_PREFIX=/mnt/wisdisk-prod/agents/c537b088-85fe-4864-9217-e71aa7ca0cce/universal_run-c537b088-85fe-4864-9217-e71aa7ca0cce/work/mambaRoot | |
| cd "$RUN" || exit 1 | |
| for s in $(seq 12 60); do | |
| [ ! -f "seeds/intrp_cubeSEED$s.RData" ] && echo "$s" | |
| done > remaining_seeds.txt | |
| echo "remaining: $(wc -l < remaining_seeds.txt) seeds" | |
| cat remaining_seeds.txt | xargs -P 2 -I{} sh -c "$MM run -n renv Rscript run_seed.R {} > seedlog_{}.txt 2>&1" | |
| echo "ALL_SEEDS_DONE" | |