yeyupiaoling / PaddlePaddle-DeepSpeech

基于PaddlePaddle实现的语音识别,中文语音识别。项目完善,识别效果好。支持Windows,Linux下训练和预测,支持Nvidia Jetson开发板预测。
https://yeyupiaoling.blog.csdn.net/article/details/102904306
Apache License 2.0
667 stars 145 forks source link

python3.8 export_model.py 模型不知道出现什么问题了 #59

Closed YouLei0106 closed 3 years ago

YouLei0106 commented 3 years ago

/usr/local/python3.8.8/lib/python3.8/site-packages/paddle/fluid/layers/utils.py:26: DeprecationWarning: np.int is a deprecated alias for the builtin int. To silence this warning, use int by itself. Doing this will not modify any behavior and is safe. When replacing np.int, you may wish to use e.g. np.int64 or np.int32 to specify the precision. If you wish to review your current use, check the release note link for additional information. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations def convert_to_list(value, n, name, dtype=np.int): /usr/local/python3.8.8/lib/python3.8/site-packages/librosa/core/constantq.py:1059: DeprecationWarning: np.complex is a deprecated alias for the builtin complex. To silence this warning, use complex by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use np.complex128 here. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations dtype=np.complex, W0809 13:46:54.392204 22480 device_context.cc:362] Please NOTE: device: 0, GPU Compute Capability: 6.0, Driver API Version: 11.0, Runtime API Version: 10.2 W0809 13:46:54.427165 22480 device_context.cc:372] device: 0, cuDNN Version: 8.0. Traceback (most recent call last): File "export_model.py", line 37, in ds2_model = DeepSpeech2Model(vocab_size=data_generator.vocab_size, File "/data/Watermark_detection/PaddleDetection/ASR_Speech/PaddlePaddle-DeepSpeech-master/model_utils/model.py", line 86, in init self.init_infer_program() File "/data/Watermark_detection/PaddleDetection/ASR_Speech/PaddlePaddle-DeepSpeech-master/model_utils/model.py", line 434, in init_infer_program self.infer_exe.run(startup_prog) File "/usr/local/python3.8.8/lib/python3.8/site-packages/paddle/fluid/executor.py", line 1110, in run six.reraise(*sys.exc_info()) File "/usr/local/python3.8.8/lib/python3.8/site-packages/six.py", line 719, in reraise raise value File "/usr/local/python3.8.8/lib/python3.8/site-packages/paddle/fluid/executor.py", line 1098, in run return self._run_impl( File "/usr/local/python3.8.8/lib/python3.8/site-packages/paddle/fluid/executor.py", line 1230, in _run_impl return self._run_program( File "/usr/local/python3.8.8/lib/python3.8/site-packages/paddle/fluid/executor.py", line 1327, in _run_program self._default_executor.run(program.desc, scope, 0, True, True, OSError: (External) Cublas error, CUSOLVER_STATUS_INTERNAL_ERROR. An internal cuSolver operation failed. This error is usually caused by a cudaMemcpyAsync() failure. (at /paddle/paddle/fluid/platform/device_context.h:264)

yeyupiaoling commented 3 years ago

好像是CUDA报错了,你安装的是哪个PaddlePaddle版本,命令看一下。

YouLei0106 commented 3 years ago

好像是CUDA报错了,你安装的是哪个PaddlePaddle版本,命令看一下。

paddlepaddle-gpu 2.0.1 Dingtalk_20210809141318

yeyupiaoling commented 3 years ago

你的CUDA版本呢?你先测试一下你的PaddlePaddle环境能否使用。

YouLei0106 commented 3 years ago

python -m pip install paddlepaddle-gpu -i https://mirror.baidu.com/pypi/simple 安装上这个,cuda10.2的 Dingtalk_20210809142511

YouLei0106 commented 3 years ago

库达?

Dingtalk_20210809175754 这个是什么问题??

YouLei0106 commented 3 years ago

你的CUDA版本呢? 你先测试一下你的PaddlePaddle环境能否使用。

3522a8af6df5b2b1a97d25ccc12c080

大神,这个模型你是一个数据集训练的还是那三个数据一起集训练出来的

yeyupiaoling commented 3 years ago

不止,好多数据混在一起的。