-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathrun_pre.sh
executable file
·30 lines (24 loc) · 1.25 KB
/
run_pre.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
#!/bin/bash
source activate torch_0.4
PYTHON=/share/mini1/sw/std/python/anaconda3-2019.07/v3.7/envs/torch_0.4/bin/python
wav_path=/share/mini1/data/audvis/pub/vc/studio/en/vctk/v1/wav48/
#eval_wav_path=/share/mini1/res/t/vc/studio/timap-en/vcc2018/dataset/vcc2018_evaluation/
root=/share/mini1/res/t/vc/studio/timap-en/vctk/
resample_path=$root/resmp_wav22050
mc_path=$root/dump/0921mc_109spk_22050_few_shot5/
#script_path=/share/mini1/res/t/vc/studio/timap-en/vctk/stgan/preprocess.py
python_script=$root/vc_gan/preprocess_vctk.py
$PYTHON $python_script \
--do_split \
--sample_rate 22050 \
--origin_wavpath $wav_path \
--target_wavpath $resample_path \
--mc_dir_train $mc_path/train \
--mc_dir_test $mc_path/test \
--speaker_used_path $mc_path/speaker_used.json \
--num_workers 10 \
--few_shot 6 \
#--norm_global \
#--global_mean_var_dir $mc_path/mvn.joblib\
#--do_resample \
#--speaker_list p262 p272 p229 p232 p292 p293 p360 p361 p248 p251