讨论 问题反馈 视频合成报错

视频合成报错

伯牙 发表于    阅读:97    回复:4

模型日志:


Traceback (most recent call last):

File "/Users/wl/Downloads/aigcpanel-server-musetalk-osx-arm64-v0.5.1/_aienv/lib/python3.10/runpy.py", line 196, in _run_module_as_main

return _run_code(code, main_globals, None,

File "/Users/wl/Downloads/aigcpanel-server-musetalk-osx-arm64-v0.5.1/_aienv/lib/python3.10/runpy.py", line 86, in _run_code

exec(code, run_globals)

File "/Users/wl/Downloads/aigcpanel-server-musetalk-osx-arm64-v0.5.1/aigcpanelrun.py", line 2, in <module>

aigcpanelapp.run()

File "aigcpanelapp.py", line 156, in aigcpanelapp.run

File "/Users/wl/Downloads/aigcpanel-server-musetalk-osx-arm64-v0.5.1/musetalk/utils/preprocessing.py", line 89, in get_landmark_and_bbox

print(f"get_landmark_and_bbox done - Total frame:「{len(frames)}」 Manually adjust range : [ -{int(sum(average_range_minus) / len(average_range_minus))}~{int(sum(average_range_plus) / len(average_range_plus))} ] , the current value: {upperbondrange}")

ZeroDivisionError: division by zero


评论

是不是视频格式有问题导致转换失败了?日志提示 division by zero

 

@aigcpanel: 格式是mp4,h264,,日志还有:

153

2025-03-13 16:01:37 - ===== 视频合成MuseTalk 3/7 =====

154

2025-03-13 16:01:37 - preprocess input image

155

2025-03-13 16:01:37 - extracting landmarks... time consuming

156

reading images...

157

done reading images

158

get_landmark_and_bbox start 5

159

160

0%| | 0/60 [00:00<?, ?it/s]

161

20%|## | 12/60 [00:00<00:00, 117.65it/s]

162

45%|####5 | 27/60 [00:00<00:00, 131.71it/s]

163

68%|######8 | 41/60 [00:00<00:00, 129.12it/s]

164

90%|######### | 54/60 [00:00<00:00, 129.04it/s]

165

100%|##########| 60/60 [00:00<00:00, 127.13it/s]

166

time="2025-03-13T16:04:00+08:00" level=error msg="Reader error:read |0: file already closed"

167

time="2025-03-13T16:04:00+08:00" level=error msg="Reader error:read |0: file already closed"

168

time="2025-03-13T16:04:00+08:00" level=error msg="Command execution failed:exit status 1"

169


 

监控一下内存是不是满了?

 

@aigcpanel: 没满,最高到87%

 
1
我来评论
语言
QQ
微信客服
微信群
客服