pull/2591/head
Hui Zhang 3 years ago
parent aef705a1dd
commit 4b60cfea67

@ -94,3 +94,18 @@ CMake Error at CMakeLists.txt:131 (string):
```
please install paddlepaddle >= 2.4rc
2. `u2_recognizer_main: error while loading shared libraries: liblibpaddle.so: cannot open shared object file: No such file or directory`
```
cd $YOUR_ENV_PATH/lib/python3.7/site-packages/paddle/fluid
patchelf --set-soname libpaddle.so libpaddle.so
```
3. `u2_recognizer_main: error while loading shared libraries: libgfortran.so.5: cannot open shared object file: No such file or directory`
```
# my gcc version is 8.2
apt-get install gfortran-8
```

@ -1,12 +1,11 @@
#!/bin/bash
set -e
. path.sh
data=data
exp=exp
nj=1
nj=20
. utils/parse_options.sh
mkdir -p $exp
ckpt_dir=./data/model

@ -13,7 +13,7 @@ stop_stage=5
data=data
exp=exp
mkdir -p $exp $data
aishell_wav_scp=aishell_test.scp
# 1. compile
if [ ! -d ${SPEECHX_BUILD} ]; then
@ -72,4 +72,4 @@ fi
if [ ${stage} -le 3 ] && [ ${stop_stage} -ge 3 ]; then
./loca/recognizer.sh
fi
fi

Loading…
Cancel
Save