whisper报错:UserWarning: FP16 is not supported on CPU; using FP32 instead

这篇具有很好参考价值的文章主要介绍了whisper报错:UserWarning: FP16 is not supported on CPU; using FP32 instead。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

报错:

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版本的了。

解决方法

whisper报错:UserWarning: FP16 is not supported on CPU; using FP32 instead,whisper,pytorch

按照这个方式在装一下就好了
https://pytorch.org/文章来源地址https://www.toymoban.com/news/detail-578152.html

到了这里,关于whisper报错:UserWarning: FP16 is not supported on CPU; using FP32 instead的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包 赞助服务器费用

相关文章

  • python安装osgeo库并解决is not a supported wheel on this platform 问题

    该问题通常是由python版本与GDAL安装包的版本不一致导致的。我们可以通过 win+r 打开cmd窗口,输入命令: pip debug --verbose 可以看到支持的版本有这么多种。需要选择适合的一个版本。 官方下载链接 这里我以 GDAL-3.3.3-cp37-cp37m-win_amd64.whl 为例。 1、下载好之后需要将这个文件放到

    2024年02月13日
    浏览(41)
  • okhttp报错:clientBuilder.sslSocketFactory(SSLSocketFactory) not supported on jdk 9+

    最近在用okHttp处理http请求调用,编写jmeter压测脚本时,出现一个奇怪的问题,idea中可以正常调用。但是打成jar包后,在jmeter中去使用时,则调不通,报错: clientBuilder.sslSocketFactory(SSLSocketFactory) not supported on jdk 9+, 但是发现自己安装的jdk版本其实就是jdk8。 查了半天,大概有两

    2024年02月07日
    浏览(25)
  • git 报错 protocol ‘https‘ is not supported解决

    报错原因:选择不了其他分支代码,甚至都看不到其他分支,我这边解决了两次报错,情况如下: 第一种报错: idea中刷新分支报错如下: Fetch Failed protocol \\\'\\\'https\\\' is not supported 话不多说,直接上 解决方案:  1:可以直接在idea命令窗中执行:git remote set-url origin 你的url 2.然后

    2024年02月06日
    浏览(48)
  • pgsql 报错 later table “drop column” is not supported now

    报错 使用pgsql执行下面的SQL报错 报错信息: later table “drop column” is not supported now。 报错原因 hologres + pgsql的数据库: 删除列目前还是灰度测试阶段,需要在sql前加上set hg_experimental_enable_drop_column =on; 解决: 一起执行即可 结束! hy:28

    2024年02月09日
    浏览(34)
  • Cloning into ‘XXXX‘... fatal: protocol ‘?https‘ is not supporte 报错解决方法

    git bash 中出现信息如下信息: Cloning into \\\'XXXX\\\'... fatal: protocol \\\'?https\\\' is not supporte  经过百度搜索: 可能存在问题一:git clone 使用的时候不支持https,可能需要换成SSH方式 你可以通过命令git remote set-url origin 你仓库的SSH地址,去除SSH认证。 但是感觉不太实际。 然后继续看下一篇

    2023年04月12日
    浏览(36)
  • (已解决)redis.get报错com.alibaba.fastjson.JSONException: autoType is not support

    redis存取值问题,存自定义实体对象; 第一次取的时候报错: com.alibaba.fastjson.JSONException: autoType is not support 。 GenericFastJsonRedisSerializer序列化和反序列化redis的value值,需要bean对象含有无参构造方法。 解决:         检查自定义实体对象是否有无参构造方法 ;添加有参构造后

    2024年02月12日
    浏览(37)
  • require() of ES modules is not supported.ts项目中添加js文件报错

    Must use import to load ES Module: E:1-vue3XXXXXXXXXbook-money.cz-config.js require() of ES modules is not supported. require() of E:1-vue3XXXXXXXXXbook-money.cz-config.js from E:1-vue3XXXXXXXXXbook-moneynode_modulesfind-configsrcfind-config.js is an ES module file as it is a .js file whose nearest parent package.json contains “type”: “modu

    2024年01月16日
    浏览(40)
  • ERROR: npm v9.6.7 is known not to run on Node.js v10.16.3.

            已经好久没有升级node和npm版本,现有node版本 10.16.3,npm版本 6.9.0。最近在开发Vue界面,公司的环境是在给定版本中正常安装,周末在家,想在自己的Mac环境也安装一份Vue cli环境,为了做一些简单的思路验证。结果升级报错了,自己记录一下。         为了方便创

    2024年02月12日
    浏览(29)
  • 【because its MIME type (‘text/html‘) is not a supported 报错原因与解决】

    because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled 报错原因与解决 事情是这样的,笔者将一些CSS文件移动到LIB文件夹中,由于没有正确的引用而出现的错误 如下图1 如下图2

    2024年02月13日
    浏览(31)
  • Navicat16连接Oracle报错:Oracle library is not loaded

    1、有时候我们在用navicat的时候连接oracle的时候,它会提示我们 Oracle library is not loaded ,这时候我们要首先验证本机上是否已安装oracle的客户端,如果已安装客户段,navicat中的oci.dll选择我们安装的客户段的oci.dll文件 2、如果我们选中oci.dll文件之后还是报 Oracle library is not lo

    2024年02月10日
    浏览(34)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包