Create fa/fa/amir/medium/train.sh
Browse files- fa/fa/amir/medium/train.sh +17 -0
fa/fa/amir/medium/train.sh
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/usr/bin/env bash
|
2 |
+
set -eo pipefail
|
3 |
+
|
4 |
+
this_dir="$( cd "$( dirname "$0" )" && pwd )"
|
5 |
+
repo_dir="$(realpath "${this_dir}/../../../../")"
|
6 |
+
|
7 |
+
export PYTHONPATH="${repo_dir}/src/python:${PYTHONPATH}"
|
8 |
+
python3 -m piper_train \
|
9 |
+
--dataset-dir "${this_dir}" \
|
10 |
+
--accelerator 'gpu' \
|
11 |
+
--devices 1 \
|
12 |
+
--batch-size 48 \
|
13 |
+
--validation-split 0 \
|
14 |
+
--num-test-examples 0 \
|
15 |
+
--max_epochs 10000 \
|
16 |
+
--checkpoint-epochs 1 \
|
17 |
+
--precision 32 "$@"
|