modelscope / FunASR

A Fundamental End-to-End Speech Recognition Toolkit and Open Source SOTA Pretrained Models, Supporting Speech Recognition, Voice Activity Detection, Text Post-processing etc.
https://www.funasr.com
Other
6.17k stars 657 forks source link

在和whisperx一起使用的时候出现存在版本依赖的问题 #1653

Open Honst211 opened 5 months ago

Honst211 commented 5 months ago

🐛 Bug

和whisperx使用的时候遇到一个版本依赖的问题,如果需要使用最新版funasr和whisperx会出现下列问题

复现流程

  1. 如果安转顺序是先安装whisperx,funasr,modelscope默认的whisperx版本是3.1.2,会让whisperx降级,现在whisperx最新版是3.1.3,修复了align使用的bug
  2. 如果安装顺序变成先安装funasr,modelscope后安装whisperx会出现datasets版本为2.19.0,这时候下载模型会报错需要降级为2.18.0

正常安装流程

所以要正常安装顺序使用的话就要,先安装funasr,modelscope,whisperx,datasets==2.18.0

LauraGPT commented 5 months ago

How you install it?

Honst211 commented 5 months ago

How you install it?

If both funasr and whisperx need to use the latest, this is the installation order of my current Dockerfile. First install the latest funasr, modelscope, then install whisperx, and finally downgrade datasets to 2.18.0