-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathimu-multi-intra-subject.sh
34 lines (31 loc) · 1.47 KB
/
imu-multi-intra-subject.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
## 50 gpu 2
python -m sigr.train exp --log log --snapshot model \
--root .cache/multi-with-imu-one-fold-intra-subject-flip-ninapro-db7-win-20-stride-1/universal-one-fold-intra-subject \
--batch-size 1000 --decay-all --dataset ninapro-db7 \
--num-filter 64 \
--num-epoch 28 --lr-step 16 --lr-step 24 --snapshot-period 28 \
--balance-gesture 1 \
--feature-name 'rawsemg_feature_imu_multisource_multistream_sigimgv1' \
--fusion-type 'multi_with_imu' \
--window 1 \
--num-semg-row 1 --num-semg-col 12 \
--gpu 2 \
--preprocess 'downsample-10' \
--imu-preprocess 'downsample-20' \
crossval --crossval-type universal-one-fold-intra-subject --fold 0
for i in $(seq 0 20); do
python -m sigr.train exp --log log --snapshot model \
--root .cache/multi-with-imu-one-fold-intra-subject-flip-ninapro-db7-win-20-stride-1/one-fold-intra-subject-$i \
--params .cache/multi-with-imu-one-fold-intra-subject-flip-ninapro-db7-win-20-stride-1/universal-one-fold-intra-subject/model-0028.params \
--batch-size 1000 --decay-all --dataset ninapro-db7 \
--num-filter 64 \
--num-epoch 28 --lr-step 16 --lr-step 24 --snapshot-period 28 \
--balance-gesture 1 \
--feature-name 'rawsemg_feature_imu_multisource_multistream_sigimgv1' \
--fusion-type 'multi_with_imu' \
--window 1 \
--num-semg-row 1 --num-semg-col 12 \
--gpu 2 \
--imu-preprocess 'downsample-20' \
crossval --crossval-type one-fold-intra-subject --fold $i
done