WSI_Packets / scripts /packets /build-patch-sets-ebr.sh
thanminh01's picture
Add files using upload-large-folder tool
6e15b0d verified
Raw History Blame Contribute Delete
467 Bytes
#!/bin/bash
cd "$(dirname "$0")/../../.."
OUT=data/packets/patch/sets
PY=/home/than-minh/.local/bin/python
mkdir -p $OUT/logs
until [ -f $OUT/logs/done.flag ]; do sleep 30; done
for enc in conch_v1 keep musk; do
nice -n 19 $PY -u experiments/miscellaneous/packets/patch_sets.py --encoder $enc --datasets EBR-coarse30 --out-dir $OUT --threads 2 > $OUT/logs/ebr-$enc.log 2>&1 || echo "FAILED ebr $enc" >> $OUT/logs/failed.txt
done
echo done > $OUT/logs/done-ebr.flag