-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrun_DFN.sh
46 lines (37 loc) · 1.32 KB
/
run_DFN.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
#! /bin/bash
is_argu=true
batch_size=16
learning_rate=0.00001
epochs=500
#batchsize
time=$(date +%Y:%m:%d-%H:%M:%S)
echo 'SimpleCNN—batchsize1 start at '$time
python train_DFN.py --batch_size 64 --learning_rate $learning_rate
#batchsize
time=$(date +%Y:%m:%d-%H:%M:%S)
echo 'SimpleCNN—batchsize2 start at '$time
python train_DFN.py --batch_size 16 --learning_rate $learning_rate
#batchsize
time=$(date +%Y:%m:%d-%H:%M:%S)
echo 'SimpleCNN—batchsize3 start at '$time
python train_DFN.py --batch_size 8 --learning_rate $learning_rate
#learning rate
time=$(date +%Y:%m:%d-%H:%M:%S)
echo 'SimpleCNN—rate1 start at '$time
python train_DFN.py --batch_size $batch_size --learning_rate 0.0001
#batchsize
time=$(date +%Y:%m:%d-%H:%M:%S)
echo 'SimpleCNN—rate2 start at '$time
python train_DFN.py --batch_size $batch_size --learning_rate 0.001
#batchsize
time=$(date +%Y:%m:%d-%H:%M:%S)
echo 'SimpleCNN—rate3 start at '$time
python train_DFN.py --batch_size $batch_size --learning_rate 0.01
#batchsize
time=$(date +%Y:%m:%d-%H:%M:%S)
echo 'SimpleCNN—rate4 start at '$time
python train_DFN.py --batch_size $batch_size --learning_rate 0.1
#batchsize
time=$(date +%Y:%m:%d-%H:%M:%S)
echo 'SimpleCNN—rate4 start at '$time
python train_DFN.py --batch_size $batch_size --learning_rate 0.05