Download data/scripts/quick-start.sh from introvoyz043/MedSegX-code: direct link, hf CLI and curl.
- Browser
- Download file 1.5 kB
-
https://huggingface.co/datasets/introvoyz043/MedSegX-code/resolve/main/data/scripts/quick-start.sh
- Command line
-
hf download hf://datasets/introvoyz043/MedSegX-code/data/scripts/quick-start.sh
-
curl -L -o quick-start.sh https://huggingface.co/datasets/introvoyz043/MedSegX-code/resolve/main/data/scripts/quick-start.sh
1.5 kB
| python evaluate_internal.py \ | |
| --checkpoint ./playground/SAM \ | |
| --model_type vit_b \ | |
| --model_weight ./playground/MedSegX/medsegx_vit_b.pth \ | |
| --data_path ./playground/MedSegDB-example/eval/ID \ | |
| --metric dsc hd \ | |
| --device_ids 0 \ | |
| --batch_size 32 | |
| python evaluate_external.py \ | |
| --checkpoint ./playground/SAM \ | |
| --model_type vit_b \ | |
| --model_weight ./playground/MedSegX/medsegx_vit_b.pth \ | |
| --data_path ./playground/MedSegDB-example/eval/OOD \ | |
| --shift_type cross_site \ | |
| --metric dsc hd \ | |
| --device_ids 0 \ | |
| --batch_size 32 | |
| python evaluate_external.py \ | |
| --checkpoint ./playground/SAM \ | |
| --model_type vit_b \ | |
| --model_weight ./playground/MedSegX/medsegx_vit_b.pth \ | |
| --data_path ./playground/MedSegDB-example/eval/OOD \ | |
| --shift_type cross_task \ | |
| --metric dsc hd \ | |
| --device_ids 0 \ | |
| --batch_size 32 | |
| python evaluate_external.py \ | |
| --checkpoint ./playground/SAM \ | |
| --model_type vit_b \ | |
| --model_weight ./playground/MedSegX/medsegx_vit_b.pth \ | |
| --data_path ./playground/MedSegDB-example/eval/RealWorld \ | |
| --shift_type cross_site \ | |
| --metric dsc hd \ | |
| --device_ids 0 \ | |
| --batch_size 32 | |
| python evaluate_external.py \ | |
| --checkpoint ./playground/SAM \ | |
| --model_type vit_b \ | |
| --model_weight ./playground/MedSegX/medsegx_vit_b.pth \ | |
| --data_path ./playground/MedSegDB-example/eval/RealWorld \ | |
| --shift_type cross_task \ | |
| --metric dsc hd \ | |
| --device_ids 0 \ | |
| --batch_size 32 |