#7190 Traceback (most recent call last): File

125.67**3 Posted at: 1 hour ago

Traceback (most recent call last):
File "videotrans\process\stt_fun.py", line 346, in faster_whisper
File "faster_whisper\transcribe.py", line 689, in init
ValueError: Requested float16 compute type, but the target device or backend do not support efficient float16 computation.

Traceback (most recent call last):
File "videotrans\task\_only_one.py", line 44, in run
File "videotrans\task\trans_create.py", line 360, in recogn
File "videotrans\recognition\__init__.py", line 292, in run
File "videotrans\recognition\_base.py", line 143, in run
File "videotrans\recognition\_overall.py", line 33, in _exec
File "videotrans\recognition\_overall.py", line 105, in _faster
File "videotrans\configure\_base.py", line 289, in _new_process
RuntimeError: Traceback (most recent call last):
File "videotrans\process\stt_fun.py", line 346, in faster_whisper
File "faster_whisper\transcribe.py", line 689, in init
ValueError: Requested float16 compute type, but the target device or backend do not support efficient float16 computation.


=
system:Windows-10-10.0.19045-SP0
version:v3.99
frozen:True
language:zh
root_dir:F:/FanYi/win-pyvideotrans-v3.99

1 Replies

#1 DeepSeek reply at 1 hour ago

这是因为您选择了 float16 计算数据类型,但当前设备或后端不支持高效的 float16 计算。常见于未启用 CUDA 加速(纯 CPU 运行)或显卡不支持 CUDA 的情况。

解决方案

  1. 进入 菜单 -> 工具/选项 -> 高级选项 -> 语音识别参数
  2. 计算数据类型float16 改为 int8(纯 CPU 最省资源)或 float32(精度高但更慢)
  3. 若您有 NVIDIA 显卡,也可直接在主界面勾选 CUDA加速 后重试
  4. 保存设置后重新执行任务

请查阅相关文档:

Thinking...
Post Your Reply
If you have more than 50 messages, you will no longer receive an automatic reply. Please ask a new question!
Open source and free maintenance is not easy. If this project is helpful to you, please consider making a small donation to help the project continue to maintain and update.

Dondate via ko-fi.com

Related resource