mirror of
https://github.com/babysor/MockingBird.git
synced 2024-11-27 04:49:52 +08:00
cd20d21f3d
* add docker support * 修复训练集解压问题 * 修复web.py启动问题 * 混合数据集训练参数
18 lines
562 B
Bash
Executable File
18 lines
562 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
if [ -z "$(ls -A /workspace/synthesizer/saved_models)" ] || [ "$FORCE_RETRAIN" = true ] ; then
|
|
/workspace/datasets_download/download.sh
|
|
/workspace/datasets_download/extract.sh
|
|
for DATASET in ${TRAIN_DATASETS}
|
|
do
|
|
if [ "$TRAIN_SKIP_EXISTING" = true ] ; then
|
|
python pre.py /datasets -d ${DATASET} -n $(nproc) --skip_existing
|
|
else
|
|
python pre.py /datasets -d ${DATASET} -n $(nproc)
|
|
fi
|
|
done
|
|
python synthesizer_train.py mandarin /datasets/SV2TTS/synthesizer
|
|
fi
|
|
|
|
python web.py
|