You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
yt605155624
changed the title
使用导出模型pdmodel和pdiparams测试时预测时间比使用cfg和ckpt预测的还要慢很多
DeepSpeech2 使用导出模型pdmodel和pdiparams测试时预测时间比使用cfg和ckpt预测的还要慢很多
Sep 27, 2022
W0927 10:16:02.442078 137610 rnn_kernel.cu.cc:243] If the memory space of the Input WeightList is not continuous, less efficient calculation will be called. Please call flatten_parameters() to make the input memory continuous.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hello,我挑了5条测试音频使用deepspeech2测试时发现导出模型的预测时间在30s左右,比使用 cfg 和 ckpt 预测的11s还要慢很多。终端输出也确实显示了使用 gpu:0,不知道为啥很慢。而且导出的比不导出的还慢。
环境:
模型:deepspeech2_online_wenetspeech_1.0.4
导出模型文件:
from paddlespeech.s2t.exps.deepspeech2.model import DeepSpeech2ExportTester as ExportTester
导出模型结果:
cfg 和 ckpt 预测文件:
from paddlespeech.s2t.exps.deepspeech2.model import DeepSpeech2Tester as Tester
cfg 和 ckpt 预测输出:
The text was updated successfully, but these errors were encountered: