Infatoshi's picture
Add files using upload-large-folder tool
060d3af verified
Raw History Blame Contribute Delete
1.19 kB
#!/bin/bash
# lane/invact step 4: DAgger runs and the zero-shot evaluations the OOM kill cut (two processes at a time: the lane's 16 GB)
cd $HOME/dev/mcsr-speedrun
export NETHERITE=$HOME/dev/nv2-lanes/invact CUDA_VISIBLE_DEVICES=2
P="taskset -c 32-63,96-127 .venv/bin/python"
I=data/invhead
cat > $I/queue2.jobs <<JOBS
$P scripts/invhead_dagger.py --init $I/vpt-ev.pt --out $I/dagger-vpt.pt > $I/dagger-vpt.log 2>&1
$P scripts/invhead_dagger.py --out $I/dagger-scratch.pt > $I/dagger-scratch.log 2>&1
$P scripts/invhead_dagger.py --init $I/vpt-ev.pt --train-scen table,pick,loot --out $I/dagger-vpt-nofurn.pt > $I/dagger-vpt-nofurn.log 2>&1
$P scripts/invact_eval.py --n 16 --scen table,pick,furnace,loot --drivers head --head $I/vpt-ev.pt --no-items --out $I/eval1/all-vptev.json > $I/eval1/all-vptev.log 2>&1
$P scripts/invact_eval.py --n 16 --scen table,pick,furnace,loot --drivers head --head $I/vpt.pt --no-items --out $I/eval1/all-vpt.json > $I/eval1/all-vpt.log 2>&1
$P scripts/invact_eval.py --n 16 --scen loot --drivers head --head $I/random.pt --out $I/eval1/loot-random.json > $I/eval1/loot-random.log 2>&1
JOBS
xargs -P 2 -I{} -d '\n' bash -c '{}' < $I/queue2.jobs
echo QUEUE2 DONE