asr / README.md
HoneyTian's picture
update
e7f863b
|
raw
history blame
1.29 kB
metadata
title: ASR
emoji: 📈
colorFrom: purple
colorTo: green
sdk: docker
pinned: false
license: apache-2.0

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference

ASR

docker build -t asr:v20240510_1734 .

docker run -itd --name ASR \
--network host \
-v /data/tianxing/PycharmProjects/asr/data/:/home/user/app/data/ \
-v /data/tianxing/PycharmProjects/asr/pretrained_models/:/home/user/app/pretrained_models/ \
asr:v20240510_1734 /bin/bash

异常1

https://blog.csdn.net/sinat_28442665/article/details/126154991

ImportError: libpython3.8.so.1.0: cannot open shared object file: No such file or directory

查找 libpython3.8.so.1.0 共享库所在目录

find / -name libpython3.8.so.1.0

添加 LD_LIBRARY_PATH

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/miniconda3/envs/ASR/lib/

异常2

https://blog.csdn.net/qq_38225558/article/details/128641561

ImportError: libk2_torch_api.so: cannot open shared object file: No such file or directory

查找 libk2_torch_api.so 共享库所在目录

find / -name libk2_torch_api.so

添加 LD_LIBRARY_PATH

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/python3.8/site-packages/k2/lib/