-
Notifications
You must be signed in to change notification settings - Fork 42
/
Copy pathtrain.sh
executable file
·46 lines (44 loc) · 1.04 KB
/
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# shell
# ------------------------------------------
python3 main.py \
--dataDir='/home/lzw/Disk/data/semantic_Segmentation/human_matting/' \
--saveDir='./result' \
--trainData='human_matting' \
--trainList='train.txt' \
--load='attunet' \
--nThreads=4 \
--patch_size=256 \
--train_batch=64 \
--lr=1e-3 \
--lrdecayType='keep' \
--nEpochs=500 \
--save_epoch=1 \
python3 main.py \
--dataDir='/home/lzw/Disk/data/semantic_Segmentation/human_matting/' \
--saveDir='./result' \
--trainData='human_matting' \
--trainList='train.txt' \
--load='attunet' \
--nThreads=4 \
--patch_size=256 \
--train_batch=64 \
--lr=1e-4 \
--lrdecayType='keep' \
--nEpochs=1000 \
--save_epoch=1 \
--finetuning \
python3 main.py \
--dataDir='/home/lzw/Disk/data/semantic_Segmentation/human_matting/' \
--saveDir='./result' \
--trainData='human_matting' \
--trainList='train.txt' \
--load='attunet' \
--nThreads=3 \
--patch_size=256 \
--train_batch=64 \
--lr=1e-5 \
--lrdecayType='keep' \
--nEpochs=1500 \
--save_epoch=1 \
--finetuning \
--train_refine