CheshireCC / faster-whisper-GUI

faster_whisper GUI with PySide6
GNU Affero General Public License v3.0
1.39k stars 81 forks source link

1.希望增加拖拽方式上传文件 2.每弄一次就用1g以上的空间,重启后就没了,是缓存吗?删除哪些文件可以释放空间? #149

Open pimin12 opened 3 months ago

pimin12 commented 3 months ago

还有空间很小时转存视频会失败,但没有提示,只能从log里看出来 -language : ja -task : False -beam_size : 5 -best_of : 5 -patience : 1.0 -length_penalty : 1.0 -temperature : [0.0, 0.2, 0.4, 0.6, 0.8, 1.0] -compression_ratio_threshold : 2.4 -log_prob_threshold : -1.0 -no_speech_threshold : 0.6 -condition_on_previous_text : False -initial_prompt : None -prefix : None -suppress_blank : True -suppress_tokens : [-1] -without_timestamps : False -max_initial_timestamp : 1.0 -word_timestamps : False -prepend_punctuations : "'“¿([{- -append_punctuations : "'.。,,!!??::”)]}、 -repetition_penalty : 1.0 -no_repeat_ngram_size : 0 -prompt_reset_on_temperature : 0.5 -max_new_tokens : None -chunk_length : 30.0 -clip_mode : 0 -clip_timestamps : 0 -hallucination_silence_threshold : 0.5 -hotwords : -language_detection_threshold : None -language_detection_segments : 1 create transcribe process with 1 workers start transcribe process Traceback (most recent call last): File "D:\FASTER~1\faster_whisper_GUI\transcribe.py", line 371, in run File "D:\FASTER~1\concurrent\futures_base.py", line 621, in result_iterator File "D:\FASTER~1\concurrent\futures_base.py", line 319, in _result_or_cancel File "D:\FASTER~1\concurrent\futures_base.py", line 458, in result File "D:\FASTER~1\concurrent\futures_base.py", line 403, in __get_result File "D:\FASTER~1\concurrent\futures\thread.py", line 58, in run File "D:\FASTER~1\faster_whisper_GUI\transcribe.py", line 281, in transcribe_file File "D:\FASTER~1\faster_whisper\transcribe.py", line 1175, in restore_speech_timestamps File "D:\FASTER~1\faster_whisper\transcribe.py", line 573, in generate_segments File "D:\FASTER~1\faster_whisper\transcribe.py", line 824, in encode ValueError: Invalid input features shape: expected an input with shape (1, 128, 3000), but got an input with shape (1, 80, 3000) instead

CheshireCC commented 3 months ago
  1. 文件拖拽一直是有的,但是管理员身份启动会不能使用这个功能,这是 Qt 的限制,如果非管理员模式不能启动的话,那么你需要重新安装到一个不需要管理员权限的硬盘上去,
  2. 不清楚你说的是哪里的空间?
  3. 你给出的错误日志里提到的这个错误是 梅尔滤波器组大小 参数错误造成的,通常情况下这个错误是由于 V3 模型参数设置错误造成的,模型加载页面确认你使用的 是不是 large-V3 模型,如果不是的话关掉这个选项
pimin12 commented 1 month ago
  1. 文件拖拽一直是有的,但是管理员身份启动会不能使用这个功能,这是 Qt 的限制,如果非管理员模式不能启动的话,那么你需要重新安装到一个不需要管理员权限的硬盘上去,
  2. 不清楚你说的是哪里的空间?
  3. 你给出的错误日志里提到的这个错误是 梅尔滤波器组大小 参数错误造成的,通常情况下这个错误是由于 V3 模型参数设置错误造成的,模型加载页面确认你使用的 是不是 large-V3 模型,如果不是的话关掉这个选项

2.就是硬盘里的空间

CheshireCC commented 1 month ago
  1. 文件拖拽一直是有的,但是管理员身份启动会不能使用这个功能,这是 Qt 的限制,如果非管理员模式不能启动的话,那么你需要重新安装到一个不需要管理员权限的硬盘上去,
  2. 不清楚你说的是哪里的空间?
  3. 你给出的错误日志里提到的这个错误是 梅尔滤波器组大小 参数错误造成的,通常情况下这个错误是由于 V3 模型参数设置错误造成的,模型加载页面确认你使用的 是不是 large-V3 模型,如果不是的话关掉这个选项

2.就是硬盘里的空间

那个是处理音视频文件的过程中产生的文件吧,然后就是torch 不知道会不会产生缓存文件