st24hour's picture
Upload folder using huggingface_hub
e101805 verified
################################################# patho-bench #################################################
################################################# patho-bench #################################################
################################################# patho-bench #################################################
# # datasets=("BC" "BCNB" "BOEHMK" "BRACS" "CPTAC" "EBRAINS" "HANCOCK" "HERROI" "IMP" "MBC" "MUT-HET-RCC" "NADT" "NAT" "OVARIAN" "PANDA") # 완료 15
# # datasets=("SR386" "VISIOMEL") # 미완료 0
datasets=("SR386")
for dataset in "${datasets[@]}"; do
python -m exaonepath.create_patches.merge_process_lists \
--input-dir /dsbio/pathology/patches/patho-bench/${dataset}-patches-256-based_on_x20-ver-0.3 \
--output-dir /dsbio/pathology/patches/patho-bench/${dataset}-patches-256-based_on_x20-ver-0.3
done
################################################# closed benchmark #################################################
################################################# closed benchmark #################################################
################################################# closed benchmark #################################################
# datasets=("BMS" "SMC_ilwon" "UPMC")
# datasets=("UPMC")
# for dataset in "${datasets[@]}"; do
# python -m exaonepath.create_patches.merge_process_lists \
# --input-dir /dsbio/pathology/patches/closed-bench/${dataset}-patches-256-based_on_x20-ver-0.3 \
# --output-dir /dsbio/pathology/patches/closed-bench/${dataset}-patches-256-based_on_x20-ver-0.3
# done
# # # TCGA
# python create_patches/merge_process_lists.py \
# --input-dir /dsbio/js.yun/projects/dino-distillation/create_patches/results/TCGA_ALL_FFPE_WSI-patches-256-based_on_x20-ver-0.3 \
# --output-dir /dsbio/js.yun/projects/dino-distillation/create_patches/results/TCGA_ALL_FFPE_WSI-patches-256-based_on_x20-ver-0.3
# # # GTEx
# python create_patches/merge_process_lists.py \
# --input-dir /dsbio/js.yun/projects/dino-distillation/create_patches/results/GTEx_data-patches-256-based_on_x20-ver-0.3 \
# --output-dir /dsbio/js.yun/projects/dino-distillation/create_patches/results/GTEx_data-patches-256-based_on_x20-ver-0.3
# # SMC
# python create_patches/merge_process_lists.py \
# --input-dir /dsbio/js.yun/projects/dino-distillation/create_patches/results/SMC_ilwon-patches-256-based_on_x20-ver-0.3 \
# --output-dir /dsbio/js.yun/projects/dino-distillation/create_patches/results/SMC_ilwon-patches-256-based_on_x20-ver-0.3
# # CPTAC
# python create_patches/merge_process_lists.py \
# --input-dir /dsbio/js.yun/projects/dino-distillation/create_patches/results/CPTAC_ALL_WSI-patches-256-based_on_x20-ver-0.3 \
# --output-dir /dsbio/js.yun/projects/dino-distillation/create_patches/results/CPTAC_ALL_WSI-patches-256-based_on_x20-ver-0.3
# # BMS
# python create_patches/merge_process_lists.py \
# --input-dir /dsbio/js.yun/projects/dino-distillation/create_patches/results/BMS-patches-256-based_on_x20-ver-0.3 \
# --output-dir /dsbio/js.yun/projects/dino-distillation/create_patches/results/BMS-patches-256-based_on_x20-ver-0.3
# # BCNB
# python create_patches/merge_process_lists.py \
# --input-dir /dsbio/js.yun/projects/dino-distillation/create_patches/results/BCNB-patches-256-based_on_x20-ver-0.3 \
# --output-dir /dsbio/js.yun/projects/dino-distillation/create_patches/results/BCNB-patches-256-based_on_x20-ver-0.3
# # UPMC_LUAD
# python create_patches/merge_process_lists.py \
# --input-dir /dsbio/js.yun/projects/dino-distillation/create_patches/results/UPMC_LUAD_WSI-patches-256-based_on_x20-ver-0.3 \
# --output-dir /dsbio/js.yun/projects/dino-distillation/create_patches/results/UPMC_LUAD_WSI-patches-256-based_on_x20-ver-0.3
# # UPMC
# python create_patches/merge_process_lists.py \
# --input-dir /dsbio/js.yun/projects/dino-distillation/create_patches/results/UPMC-patches-256-based_on_x20-ver-0.3 \
# --output-dir /dsbio/js.yun/projects/dino-distillation/create_patches/results/UPMC-patches-256-based_on_x20-ver-0.3