WSI_Packets / scripts /packets /build-patch-sets.sh
thanminh01's picture
Add files using upload-large-folder tool
6e15b0d verified
Raw History Blame Contribute Delete
446 Bytes
#!/bin/bash
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