Download invhead/queue3.sh from Infatoshi/mcsr-speedrun-artifacts: direct link, hf CLI and curl.
- Browser
- Download file 952 Bytes
-
https://huggingface.co/datasets/Infatoshi/mcsr-speedrun-artifacts/resolve/main/invhead/queue3.sh
- Command line
-
hf download hf://datasets/Infatoshi/mcsr-speedrun-artifacts/invhead/queue3.sh
-
curl -L -o queue3.sh https://huggingface.co/datasets/Infatoshi/mcsr-speedrun-artifacts/resolve/main/invhead/queue3.sh
952 Bytes
| # lane/invact step 4, the final table: the DAgger heads (items known), greedy and sampled, 16 envs a scenario | |
| cd $HOME/dev/mcsr-speedrun | |
| while ! grep -q "QUEUE2 DONE" data/invhead/queue2.log; do sleep 10; done | |
| export NETHERITE=$HOME/dev/nv2-lanes/invact CUDA_VISIBLE_DEVICES=2 | |
| P="taskset -c 32-63,96-127 .venv/bin/python scripts/invact_eval.py --n 16 --scen table,pick,furnace,loot --drivers head" | |
| I=data/invhead | |
| mkdir -p $I/eval3 | |
| : > $I/queue3.jobs | |
| for h in dagger-vpt dagger-scratch dagger-vpt-nofurn; do | |
| echo "$P --head $I/$h.pt --greedy --out $I/eval3/$h-greedy.json > $I/eval3/$h-greedy.log 2>&1" >> $I/queue3.jobs | |
| echo "$P --head $I/$h.pt --out $I/eval3/$h-sampled.json > $I/eval3/$h-sampled.log 2>&1" >> $I/queue3.jobs | |
| done | |
| echo "$P --head $I/vpt-ev.pt --no-items --greedy --out $I/eval3/vptev-greedy.json > $I/eval3/vptev-greedy.log 2>&1" >> $I/queue3.jobs | |
| xargs -P 2 -I{} -d '\n' bash -c '{}' < $I/queue3.jobs | |
| echo QUEUE3 DONE | |