New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bash run.sh #569
Comments
setup.sh 应该没有安装正确,check下 decoders 相关安装是否正确。建议按照reademe的方式安装,ubuntu 系统。 |
python3 -c "import pkg_resources; pkg_resources.require("swig_decoders==1.1")" |
请问显示这个是什么意思呢? |
就是安装到 /usr/local/lib/python3.7/ 这个python环境啦,你用得是conda。所以还是环境没弄好。 还是按readme安装使用吧。 |
那请问大佬我这种情况现在怎么操作呢?我是按照readme操作的,没有用docker,因为doceker环境装不了resampy==0.2.2这个包。 |
没有docker,也可以用 venv得环境。conda应该也是可以得。 |
是因为系统没有安装swig ,需要按这个。
|
1 similar comment
是因为系统没有安装swig ,需要按这个。
|
参考 这个地址 #113 |
@zhangyifei1 |
请到 https://github.com/PaddlePaddle/DeepSpeech/discussions 中提问,并给出详细信息,issue后续只用来做bug report。 |
感谢大佬耐心回复,经过安装,swig后,swif -vsersion后显示。 |
1.去 venv Python 目录/home/DeepSpeech-release-v1.8.5/tools/venv/lib/python3.7/site-packages/swig_decoders-1.1-py3.7-linux-x86_64.egg/ 删除掉这个目录的所有文件; |
add tests_v2 direction
(base) root@a8e4df74e22d:/DeepSpeech/DeepSpeech-develop/examples/tiny# bash run.sh
/root/anaconda3/lib/python3.8/site-packages/paddle/fluid/framework.py:297: UserWarning: You are using GPU version Paddle, but your CUDA device is not set properly. CPU device will be used by default.
warnings.warn(
Skip downloading and unpacking. Data already exists in /DeepSpeech/DeepSpeech-develop/examples/tiny/../..//examples/dataset/aishell.
Creating manifest data/manifest ...
/root/anaconda3/lib/python3.8/site-packages/paddle/fluid/framework.py:297: UserWarning: You are using GPU version Paddle, but your CUDA device is not set properly. CPU device will be used by default.
warnings.warn(
----------- Configuration Arguments -----------
count_threshold: 0
manifest_paths: ['data/manifest.train', 'data/manifest.dev']
vocab_path: data/vocab.txt
/root/anaconda3/lib/python3.8/site-packages/paddle/fluid/framework.py:297: UserWarning: You are using GPU version Paddle, but your CUDA device is not set properly. CPU device will be used by default.
warnings.warn(
----------- Configuration Arguments -----------
manifest_path: data/manifest.train
num_samples: 2000
output_path: data/mean_std.npz
specgram_type: linear
Aishell data preparation done.
using 2 gpus...
/root/anaconda3/lib/python3.8/site-packages/paddle/fluid/framework.py:297: UserWarning: You are using GPU version Paddle, but your CUDA device is not set properly. CPU device will be used by default.
warnings.warn(
Traceback (most recent call last):
File "/DeepSpeech/DeepSpeech-develop/examples/tiny/../..//deepspeech/exps/deepspeech2/bin/train.py", line 26, in
from deepspeech.exps.deepspeech2.config import get_cfg_defaults
File "/DeepSpeech/DeepSpeech-develop/deepspeech/exps/deepspeech2/config.py", line 16, in
from deepspeech.models.deepspeech2 import DeepSpeech2Model
File "/DeepSpeech/DeepSpeech-develop/deepspeech/models/deepspeech2.py", line 31, in
from deepspeech.modules.ctc import CTCDecoder
File "/DeepSpeech/DeepSpeech-develop/deepspeech/modules/ctc.py", line 23, in
from deepspeech.decoders.swig_wrapper import Scorer
File "/DeepSpeech/DeepSpeech-develop/deepspeech/decoders/swig_wrapper.py", line 16, in
import swig_decoders
ModuleNotFoundError: No module named 'swig_decoders'
The text was updated successfully, but these errors were encountered: