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.
17 lines
525 B
17 lines
525 B
3 years ago
|
export MAIN_ROOT=`realpath ${PWD}/../../../../`
|
||
3 years ago
|
export LOCAL_DEEPSPEECH2=`realpath ${PWD}/../`
|
||
|
|
||
|
export PATH=${MAIN_ROOT}:${MAIN_ROOT}/utils:${PATH}
|
||
|
export LC_ALL=C
|
||
|
|
||
3 years ago
|
export PYTHONDONTWRITEBYTECODE=1
|
||
3 years ago
|
# Use UTF-8 in Python to avoid UnicodeDecodeError when LC_ALL=C
|
||
|
export PYTHONIOENCODING=UTF-8
|
||
|
export PYTHONPATH=${MAIN_ROOT}:${PYTHONPATH}
|
||
|
export PYTHONPATH=${LOCAL_DEEPSPEECH2}:${PYTHONPATH}
|
||
|
|
||
|
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib/
|
||
|
|
||
|
MODEL=deepspeech2
|
||
3 years ago
|
export BIN_DIR=${LOCAL_DEEPSPEECH2}/src_deepspeech2x/bin
|