[DEBUG] [新进程任务 结束:STT use large-v3-turbo],耗时421.18673038482666s
[DEBUG] 开始移除每条字幕末尾标点
[DEBUG] [新进程任务 开始:恢复标点]
[DEBUG] 任务参数:kwargs={'text_dict_file': 'D:/win-pyvideotrans-v4.01-0602/tmp/576/f6bce34e6e/text_dict_file_1780541620.805847.json', 'is_cuda': True, 'device_index': 0}
[DEBUG] 新进程执行结束结束timeout=0
[DEBUG] 开始标点恢复
[DEBUG] 标点恢复完成,耗时:3s
[DEBUG] [新进程任务 结束:恢复标点],耗时6.629586219787598s
[DEBUG] LLM重新断句:self.ainame='deepseek',model_name='deepseek-v4-flash',api_url='https://api.deepseek.com/v1/'
[INFO] Starting call to 'videotrans.translator._openaicompat.OpenAICampat.llm_segment.._send', this is the 1st time calling it.
[DEBUG] 新进程执行结束结束timeout=6
[DEBUG] [音频+字幕+画面合成阶段结束耗时]:285.1608247756958s
[DEBUG] [F:/#0Daydown/025/video/3 - Tire Track Spline/4 - Create Spline in Unreal Engine 5.mp4视频翻译任务结束,总耗时]:7257.922482967377s
[INFO] Starting call to 'videotrans.translator._openaicompat.OpenAICampat.llm_segment.._send', this is the 1st time calling it.
[INFO] Starting call to 'videotrans.translator._openaicompat.OpenAICampat.llm_segment.._send', this is the 1st time calling it.
[DEBUG] LLM重新断句完成,用时:415.83734035491943s
[ERROR] 重新断句失败,已恢复原样
--- Logging error ---
Traceback (most recent call last):
File "logging\__init__.py", line 1103, in emit
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
File "videotrans\task\job.py", line 35, in run
File "videotrans\task\job.py", line 100, in process_task
File "videotrans\task\trans_create.py", line 396, in recogn
File "logging\__init__.py", line 1506, in error
File "logging\__init__.py", line 1624, in _log
File "logging\__init__.py", line 1634, in handle
File "logging\__init__.py", line 1696, in callHandlers
File "logging\__init__.py", line 968, in handle
File "logging\__init__.py", line 1108, in emit
Message: '重新断句失败,已恢复原样'
Arguments: ()#4939 为啥LLM重新断句偶尔会失败,很折磨人
2409:8a55*
Posted at: 3 hours ago
31 Replies
Post Your Reply
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: ko-fi.com/jianchang512