-
Notifications
You must be signed in to change notification settings - Fork 0
/
train_survival.sh
executable file
·39 lines (30 loc) · 1.03 KB
/
train_survival.sh
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
feature_path='/feature_path'
studies='LUSC'
models='AttMIL'
# models='TransMIL'
# models='TransMIL_Pre'
features='mSTAR'
lr=2e-4
# ckpt for pretrained aggregator
# aggregator='aggregator'
# export WANDB_MODE=dryrun
cd ..
for feature in $features
do
for study in $studies
do
for model in $models
do
CUDA_VISIBLE_DEVICES=0 python main.py --model $model \
--csv_file ./dataset_csv/${study}_Splits.csv \
--feature_path $feature_path \
--study $study \
--modal WSI \
--num_epoch 30 \
--batch_size 1 \
--lr $lr \
--feature $feature \
# --aggregator $aggregator
done
done
done