-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun_test.sh
10 lines (10 loc) · 875 Bytes
/
run_test.sh
1
2
3
4
5
6
7
8
9
10
#!/bin/bash
EPOCHS=1
METHOD=odeint_euler
LOSS=L1_STFT
DEVICE=0
set -x
CUDA_VISIBLE_DEVICES=$DEVICE python diode_clipper/main.py --method $METHOD --batch_size 512 --init_len 0 --up_fr 2048 --val_chunk 22050 --test_chunk 22050 --epochs $EPOCHS --learn_rate 0.001 --teacher_forcing always --name TEST_RUN --test_sampling_rate 22050 --dataset_name diodeclip --loss_function $LOSS
rm -rv diode_clipper/runs/diodeclip/`echo "$METHOD" | tr '[:upper:]' '[:lower:]'`/*TEST_RUN
CUDA_VISIBLE_DEVICES=$DEVICE python phaser/main.py --method $METHOD --batch_size 512 --init_len 0 --up_fr 2048 --val_chunk 22050 --test_chunk 22050 --epochs $EPOCHS --learn_rate 0.001 --teacher_forcing always --name TEST_RUN --test_sampling_rate 22050 --dataset_name FameSweetToneOffNoFb --loss_function $LOSS
rm -rv phaser/runs/FameSweetToneOffNoFb/`echo "$METHOD" | tr '[:upper:]' '[:lower:]'`/*TEST_RUN