parent
882e17f67c
commit
991c1c717b
@ -1,8 +0,0 @@
|
||||
train_output_path=$1
|
||||
model_name=$2
|
||||
|
||||
python3 ${BIN_DIR}/../../PTQ_static.py \
|
||||
--dev-metadata=dump/dev/raw/metadata.jsonl \
|
||||
--inference_dir ${train_output_path}/inference \
|
||||
--model_name ${model_name} \
|
||||
--onnx_format=True
|
@ -0,0 +1 @@
|
||||
../../../csmsc/voc1/local/PTQ_static.sh
|
@ -1,14 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
config_path=$1
|
||||
train_output_path=$2
|
||||
ckpt_name=$3
|
||||
|
||||
FLAGS_allocator_strategy=naive_best_fit \
|
||||
FLAGS_fraction_of_gpu_memory_to_use=0.01 \
|
||||
python3 ${BIN_DIR}/../synthesize.py \
|
||||
--config=${config_path} \
|
||||
--checkpoint=${train_output_path}/checkpoints/${ckpt_name} \
|
||||
--test-metadata=dump/test/norm/metadata.jsonl \
|
||||
--output-dir=${train_output_path}/test \
|
||||
--generator-type=pwgan
|
@ -0,0 +1 @@
|
||||
../../../csmsc/voc1/local/synthesize.sh
|
@ -1,13 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
config_path=$1
|
||||
train_output_path=$2
|
||||
|
||||
FLAGS_cudnn_exhaustive_search=true \
|
||||
FLAGS_conv_workspace_size_limit=4000 \
|
||||
python ${BIN_DIR}/train.py \
|
||||
--train-metadata=dump/train/norm/metadata.jsonl \
|
||||
--dev-metadata=dump/dev/norm/metadata.jsonl \
|
||||
--config=${config_path} \
|
||||
--output-dir=${train_output_path} \
|
||||
--ngpu=1
|
@ -0,0 +1 @@
|
||||
../../../csmsc/voc1/local/train.sh
|
@ -1,13 +0,0 @@
|
||||
#!/bin/bash
|
||||
export MAIN_ROOT=`realpath ${PWD}/../../../`
|
||||
|
||||
export PATH=${MAIN_ROOT}:${MAIN_ROOT}/utils:${PATH}
|
||||
export LC_ALL=C
|
||||
|
||||
export PYTHONDONTWRITEBYTECODE=1
|
||||
# Use UTF-8 in Python to avoid UnicodeDecodeError when LC_ALL=C
|
||||
export PYTHONIOENCODING=UTF-8
|
||||
export PYTHONPATH=${MAIN_ROOT}:${PYTHONPATH}
|
||||
|
||||
MODEL=parallelwave_gan
|
||||
export BIN_DIR=${MAIN_ROOT}/paddlespeech/t2s/exps/gan_vocoder/${MODEL}
|
@ -0,0 +1 @@
|
||||
../../csmsc/voc1/path.sh
|
Loading…
Reference in new issue