yeyupiaoling / PaddlePaddle-DeepSpeech

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

数据 #98

Closed MingyunZhu closed 2 years ago

MingyunZhu commented 2 years ago

请问,这个预测语音时候,能预测多个语音么?就像预测一个文件夹里的所有语音

yeyupiaoling commented 2 years ago

直接写一个循环一条一条全部预测就好。

MingyunZhu commented 2 years ago

你好,我在虚拟环境下,执行python train.py后,为什么一直在cpu上跑,gpu没有使用,这个怎么修改,使用gpu

发自我的iPhone

------------------ 原始邮件 ------------------ 发件人: 夜雨飘零 @.> 发送时间: 2021年10月8日 23:57 收件人: yeyupiaoling/PaddlePaddle-DeepSpeech @.> 抄送: MingyunZhu @.>, Author @.> 主题: 回复:[yeyupiaoling/PaddlePaddle-DeepSpeech] 数据 (#98)

直接写一个循环一条一条全部预测就好。 — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

yeyupiaoling commented 2 years ago

默认就是使用GPU了,你是不是改了,或者是你没有GPU环境

https://github.com/yeyupiaoling/PaddlePaddle-DeepSpeech/blob/95dd8a4d5fd55ed14c8291205f968539e1155fd9/train.py#L13

MingyunZhu commented 2 years ago

老哥,我去百度飞浆上测试一下吧。飞浆上,我搜你的项目,里面怎么没有代码呢?能麻烦你把你飞浆上的项目链接给我发一下么。。。

发自我的iPhone

------------------ 原始邮件 ------------------ 发件人: 夜雨飘零 @.> 发送时间: 2021年10月11日 14:43 收件人: yeyupiaoling/PaddlePaddle-DeepSpeech @.> 抄送: MingyunZhu @.>, Author @.> 主题: 回复:[yeyupiaoling/PaddlePaddle-DeepSpeech] 数据 (#98)

默认就是使用GPU了,你是不是改了,或者是你没有GPU环境

https://github.com/yeyupiaoling/PaddlePaddle-DeepSpeech/blob/95dd8a4d5fd55ed14c8291205f968539e1155fd9/train.py#L13

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

yeyupiaoling commented 2 years ago

你说的是aistudio 平台吗?我不在上面提供代码。你自行clone上面使用吧