Download scripts/packets/build-patch-sets-ebr.sh from thanminh01/WSI_Packets: direct link, hf CLI and curl.
- Browser
- Download file 467 Bytes
-
https://huggingface.co/datasets/thanminh01/WSI_Packets/resolve/main/scripts/packets/build-patch-sets-ebr.sh
- Command line
-
hf download hf://datasets/thanminh01/WSI_Packets/scripts/packets/build-patch-sets-ebr.sh
-
curl -L -o build-patch-sets-ebr.sh https://huggingface.co/datasets/thanminh01/WSI_Packets/resolve/main/scripts/packets/build-patch-sets-ebr.sh
467 Bytes
| 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 | |