File size: 477 Bytes
0a70e5b |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
#!/usr/bin/env bash
set -eo pipefail
this_dir="$( cd "$( dirname "$0" )" && pwd )"
repo_dir="$(realpath "${this_dir}/../../../../")"
export PYTHONPATH="${repo_dir}/src/python:${PYTHONPATH}"
python3 -m piper_train \
--dataset-dir "${this_dir}" \
--accelerator 'gpu' \
--devices 1 \
--batch-size 32 \
--validation-split 0 \
--num-test-examples 0 \
--max_epochs 10000 \
--max-phoneme-ids 400 \
--checkpoint-epochs 5 \
--precision 32 "$@"
|