第十个epoch之后,错字率开始上升,怀疑过拟合,故将第十个epoch的参数模型导出。
运行本地预测:
python infer_path.py --wav_path=./dataset/test.wav
的时候,报错:
----------- Configuration Arguments -----------
alpha: 1.2
beam_size: 10
beta: 0.35
cutoff_prob: 1.0
cutoff_top_n: 40
decoding_method: ctc_greedy
enable_mkldnn: False
is_long_audio: False
lang_model_path: ./lm/zh_giga.no_cna_cmn.prune01244.klm
mean_std_path: ./dataset/mean_std.npz
model_dir: ./models/infer/
to_an: True
use_gpu: True
vocab_path: ./dataset/zh_vocab.txt
wav_path: ./dataset/test.wav
------------------------------------------------
--------------------------------------
C++ Traceback (most recent call last):
--------------------------------------
0 paddle::framework::SignalHandle(char const*, int)
1 paddle::platform::GetCurrentTraceBackString[abi:cxx11]()
----------------------
Error Message Summary:
----------------------
FatalError: `Segmentation fault` is detected by the operating system.
[TimeInfo: *** Aborted at 1634112531 (unix time) try "date -d @1634112531" if you are using GNU date ***]
[SignalInfo: *** SIGSEGV (@0x0) received by PID 103938 (TID 0x7fdedc6324c0) from PID 0 ***]
怀疑cudnn版本错误
尝试1:安装cudnn7.6.5版本
(5条消息) paddle 运行出现:FatalError: `Segmentation fault` is detected by the operating system._团长sama的博客-CSDN博客https://blog.csdn.net/sinat_24899403/article/details/119574039
解决方案:
尝试1:成功



