2021-10-12 Paddle DeepSpeech生成数据列表报错

执行python create_data.py生成数据列表过程中报错:

开始抽取-1条数据计算均值和标准值...
  0%|                                                                                                                                                             | 0/4017 [00:00<?, ?it/s]W1011 18:34:43.968768 56947 system_allocator.cc:205] cudaHostAlloc failed.
W1011 18:34:43.968842 56947 naive_best_fit_allocator.cc:519] cudaHostAlloc Cannot allocate 1288 bytes in CUDAPinnedPlace
 

--------------------------------------
C++ Traceback (most recent call last):
--------------------------------------
0   std::thread::_State_impl<std::thread::_Invoker<std::tuple<ThreadPool::ThreadPool(unsigned long)::{lambda()#1}> > >::_M_run()
1   std::__future_base::_State_baseV2::_M_do_set(std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*, bool*)
2   paddle::framework::SignalHandle(char const*, int)
3   paddle::platform::GetCurrentTraceBackString[abi:cxx11]()

----------------------
Error Message Summary:
----------------------
FatalError: `Segmentation fault` is detected by the operating system.
  [TimeInfo: *** Aborted at 1633948483 (unix time) try "date -d @1633948483" if you are using GNU date ***]
  [SignalInfo: *** SIGSEGV (@0x20) received by PID 55600 (TID 0x7fc772ffd700) from PID 32 ***]

尝试1:怀疑cuda版本过高导致,服务器cuda版本为11.1,查阅在GPU上如何选择PaddlePaddle版本? (baidu.com)

决定先尝试将cuda版本降到10.2

wget https://developer.download.nvidia.com/compute/cuda/10.2/Prod/local_installers/cuda_10.2.89_440.33.01_linux.run
sudo sh cuda_10.2.89_440.33.01_linux.run

解决方案:

尝试1:成功

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值