在win11 中 whisper-large-v3-turbo 的简单使用

在win11环境下的运行命令

克隆仓库 - 分支jongwook/large-v3-turbo

  • 原有仓库
shell 复制代码
git clone https://github.com/openai/whisper.git
  • Gitee上我自己又克隆的仓库,并附带custom.py和在dataset(自己新建的文件夹)中的一些测试文件

    shell 复制代码
    git clone https://gitee.com/kxw123/whisper-demo.git

1 创建虚拟环境(以下命令 使用git bash)

shell 复制代码
 python -m venv whisper-venv

2激活虚拟环境

shell 复制代码
source  whisper-venv/Scripts/activate

3 进入目录

shell 复制代码
cd  whisper

4 安装依赖

shell 复制代码
pip install -r requirements.txt

项目中如果有虚拟环境,忽略以上1,2,3; 在项目下执行

shell 复制代码
source .venv/Scripts/activate

5 退出虚拟环境(退出时使用)

shell 复制代码
deactivate

6 音频转文字

  • 直接在项目中运行该文件或者gitbash 都可
shell 复制代码
python custom.py
- custom.py 自定义文件, 功能: 语音转文字,并翻译
相关推荐
Luke Ewin5 天前
一个基于OpenAI Whisper开发的音视频字幕文件生成工具
人工智能·whisper·音视频·语音识别·asr·语音转写·视频字幕生成
Encarta199311 天前
【语音识别】vLLM 部署 Whisper 语音识别模型指南
人工智能·whisper·语音识别
JHC00000011 天前
ubuntu 下调用系统麦克风,以及faster-whisper-medium 处理音频转写文本
ubuntu·whisper·音视频
西西弗Sisyphus13 天前
whisper 语音识别
whisper·语音识别
JHC00000013 天前
docker 中跑faster-whisper 教程(1050显卡)
docker·容器·whisper·语音识别
engchina21 天前
vLLM 部署 openai whisper 模型实现语音转文字
人工智能·python·whisper
gs8014021 天前
Faster-Whisper —— 为语音识别加速的利器
人工智能·whisper·语音识别
charles_vaez1 个月前
开源模型应用落地-语音转文本-whisper模型-AIGC应用探索(五)
深度学习·whisper·aigc
Mark White1 个月前
开箱即用的whisper-service服务
whisper
Python数据分析与机器学习2 个月前
基于fast-whisper模型的语音识别工具的设计与实现
大数据·人工智能·python·搜索引擎·whisper·语音识别·课程设计