imu-multi-intra-subject.sh
## 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

