|
export PYTHONPATH="./" |
|
|
|
|
|
exp_dir="./egs/codecs/FAcodec" |
|
echo exp_dir: $exp_dir |
|
work_dir="./" |
|
echo work_dir: $work_dir |
|
|
|
export WORK_DIR=$work_dir |
|
export PYTHONPATH=$work_dir |
|
export PYTHONIOENCODING=UTF-8 |
|
|
|
|
|
if [ -z "$exp_config" ]; then |
|
exp_config="${exp_dir}"/exp_libritts.json |
|
fi |
|
echo "Exprimental Configuration File: $exp_config" |
|
|
|
|
|
exp_name="facodec" |
|
|
|
port=53333 |
|
|
|
|
|
echo "Experiment Name: $exp_name" |
|
accelerate launch --main_process_port $port "${work_dir}"/bins/codec/train.py --config $exp_config \ |
|
--exp_name $exp_name --log_level debug $1 |
|
|