14 lines
377 B
14 lines
377 B
3 years ago
|
#!/bin/bash
|
||
|
export MAIN_ROOT=`realpath ${PWD}/../../../`
|
||
|
|
||
|
export PATH=${MAIN_ROOT}:${MAIN_ROOT}/utils:${PATH}
|
||
|
export LC_ALL=C
|
||
|
|
||
|
export PYTHONDONTWRITEBYTECODE=1
|
||
|
# Use UTF-8 in Python to avoid UnicodeDecodeError when LC_ALL=C
|
||
|
export PYTHONIOENCODING=UTF-8
|
||
|
export PYTHONPATH=${MAIN_ROOT}:${PYTHONPATH}
|
||
|
|
||
|
MODEL=fastspeech2
|
||
|
export BIN_DIR=${MAIN_ROOT}/paddlespeech/t2s/exps/${MODEL}
|