Download scripts/packets/build-patch-sets.sh from thanminh01/WSI_Packets: direct link, hf CLI and curl.
- Browser
- Download file 446 Bytes
-
https://huggingface.co/datasets/thanminh01/WSI_Packets/resolve/main/scripts/packets/build-patch-sets.sh
- Command line
-
hf download hf://datasets/thanminh01/WSI_Packets/scripts/packets/build-patch-sets.sh
-
curl -L -o build-patch-sets.sh https://huggingface.co/datasets/thanminh01/WSI_Packets/resolve/main/scripts/packets/build-patch-sets.sh
446 Bytes
| cd "$(dirname "$0")/../../.." | |
| OUT=data/packets/patch/sets | |
| PY=/home/than-minh/.local/bin/python | |
| mkdir -p $OUT/logs | |
| for enc in conch_v1 keep musk; do | |
| nice -n 19 $PY -u experiments/miscellaneous/packets/patch_sets.py --encoder $enc --datasets BRAIN_SUBTYPE_5 BRAIN_SUBTYPE_6 BRACS_fine BRACS_coarse --out-dir $OUT --threads 2 > $OUT/logs/$enc.log 2>&1 || echo "FAILED $enc" >> $OUT/logs/failed.txt | |
| done | |
| echo done > $OUT/logs/done.flag | |