-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathquick-start.sh
More file actions
50 lines (45 loc) · 1.47 KB
/
quick-start.sh
File metadata and controls
50 lines (45 loc) · 1.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#!/bin/bash
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