https://github.com/open-mmlab/Amphion
Tip revision: a4c23e2e1f15e4be0b0c7194e6b69a82a4bb4a07 authored by Xueyao Zhang on 18 December 2023, 14:14:33 UTC
Amphion v0.1 Release (#39)
Amphion v0.1 Release (#39)
Tip revision: a4c23e2
run_train.sh
# Copyright (c) 2023 Amphion.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
######## Build Experiment Environment ###########
exp_dir=$(cd `dirname $0`; pwd)
work_dir=$(dirname $(dirname $(dirname $exp_dir)))
export WORK_DIR=$work_dir
export PYTHONPATH=$work_dir
export PYTHONIOENCODING=UTF-8
######## Set Experiment Configuration ###########
exp_config="$exp_dir/exp_config.json"
exp_name="ns2_libritts"
######## Train Model ###########
CUDA_VISIBLE_DEVICES="0" accelerate \
"${work_dir}"/bins/tts/train.py \
--config=$exp_config \
--exp_name=$exp_name \
--log_level debug \