-
Notifications
You must be signed in to change notification settings - Fork 0
/
exp
58 lines (50 loc) · 2.43 KB
/
exp
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
51
52
53
54
ver=1.0.0.0
python -m sigr.train_sigimg_actimg_fast exp --log log --snapshot model \
--root .cache/ninapro-db4-rawsemg_feature_multisource_multistream_sigimgv2-20-1-universal-one-fold-intra-subject \
--batch-size 1000 --decay-all --dataset ninapro-db1-rawdata-semgfeature-multisource \
--num-filter 64 \
--num-epoch 28 --lr-step 16 --lr-step 24 --snapshot-period 28 \
--balance-gesture 1 \
--feature-name 'rawsemg_feature_multisource_multistream_sigimgv2' \
--fusion-type 'fuse_7' \
--window 1 \
--num-semg-row 1 --num-semg-col 12 \
--gpu 1 \
--preprocess '(ninapro-lowpass,downsample-20)' \
crossval --crossval-type universal-one-fold-intra-subject --fold 0
ver=1.0.0.1
for i in $(seq 0 7); do
python -m sigr.train_sigimg_actimg_fast exp --log log --snapshot model \
--root .cache/ninapro-db4-rawsemg_feature_multisource_multistream_sigimgv2-20-1-one-fold-intra-subject-fold-$i-v$ver \
--params .cache/ninapro-db4-rawsemg_feature_multisource_multistream_sigimgv2-20-1-universal-one-fold-intra-subject/model-0028.params \
--batch-size 1000 --decay-all --dataset ninapro-db1-rawdata-semgfeature-multisource \
--num-filter 64 \
--num-epoch 28 --lr-step 16 --lr-step 24 --snapshot-period 28 \
--balance-gesture 1 \
--feature-name 'rawsemg_feature_multisource_multistream_sigimgv2' \
--fusion-type 'fuse_7' \
--window 1 \
--num-semg-row 1 --num-semg-col 12 \
--dropout 0.65 \
--gpu 1 \
--preprocess '(ninapro-lowpass,downsample-20)' \
crossval --crossval-type one-fold-intra-subject --fold $i
done
# ver=1.0.0.1
# for i in $(seq 0 7); do
# python -m sigr.train_sigimg_actimg_fast exp --log log --snapshot model \
# --root .cache/ninapro-db4-rawsemg_feature_multisource_multistream_sigimgv2-20-1-one-fold-intra-subject-fold-$i-v$ver \
# --params .cache/params/ninapro-db4-rawsemg_feature_multisource_multistream_sigimgv2-20-1-one-fold-intra-subject-fold-$i-v$ver/model-0028.params \
# --batch-size 1000 --decay-all --dataset ninapro-db1-rawdata-semgfeature-multisource \
# --num-filter 64 \
# --num-epoch 28 --lr-step 16 --lr-step 24 --snapshot-period 28 \
# --balance-gesture 1 \
# --feature-name 'rawsemg_feature_multisource_multistream_sigimgv2' \
# --fusion-type 'fuse_7' \
# --window 1 \
# --num-semg-row 1 --num-semg-col 12 \
# --dropout 0.65 \
# --gpu 0 \
# --preprocess 'ninapro-lowpass' \
# crossval --crossval-type one-fold-intra-subject --fold $i
# done