You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
394 B
15 lines
394 B
2 years ago
|
#!/bin/bash
|
||
|
export MAIN_ROOT=${PWD}/../../../
|
||
|
|
||
|
export PATH=${MAIN_ROOT}:${MAIN_ROOT}/utils:${PATH}
|
||
|
export LC_ALL=C
|
||
|
|
||
|
# Use UTF-8 in Python to avoid UnicodeDecodeError when LC_ALL=C
|
||
|
export PYTHONIOENCODING=UTF-8
|
||
|
export PYTHONPATH=${MAIN_ROOT}:${PYTHONPATH}
|
||
|
|
||
|
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib/
|
||
|
|
||
|
MODEL=ernie_linear
|
||
|
export BIN_DIR=${MAIN_ROOT}/paddlespeech/text/exps/${MODEL}
|