SadeghK commited on
Commit
e2341a1
1 Parent(s): 3748fbc

Create fa/fa/amir/medium/train.sh

Browse files
Files changed (1) hide show
  1. 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 "$@"