0
点赞
收藏
分享

微信扫一扫

腾讯、飞书等在线表格自动化编辑--python

梦为马 2023-07-20 阅读 46

报错:

PS D:\> whisper.exe .\dz.wav --language en --model medium
C:\xxPython310\lib\site-packages\whisper\transcribe.py:114: UserWarning: FP16 is not supported on CPU; using FP32 instead
  warnings.warn("FP16 is not supported on CPU; using FP32 instead")

这个报错说的是whisper要使用cpu,而你音频是fp16的,cpu不支持。

要点在于如何解决为什么whisper没使用GPU

应该是搞别的时候把torch给搞成cpu版本的了。

解决方法

在这里插入图片描述

按照这个方式在装一下就好了
https://pytorch.org/

举报

相关推荐

0 条评论