forked from ternaus/robot-surgery-segmentation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtrain.sh
31 lines (30 loc) · 737 Bytes
/
train.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
#!/bin/bash
for i in 0 1 2 3
do
python train.py \
--device-ids 0,1 \
--batch-size 6 \
--fold $i \
--workers 12 \
--lr 0.0001 \
--n-epochs 10 \
--jaccard-weight 0.3 \
--model UNet \
--train_crop_height 1024 \
--train_crop_width 1280 \
--val_crop_height 1024 \
--val_crop_width 1280
python train.py \
--device-ids 0,1 \
--batch-size 6 \
--fold $i \
--workers 12 \
--lr 0.00001 \
--n-epochs 20 \
--jaccard-weight 0.3 \
--model UNet \
--train_crop_height 1024 \
--train_crop_width 1280 \
--val_crop_height 1024 \
--val_crop_width 1280
done