|
|
发表于 2026-6-29 12:19:59
|
显示全部楼层
[offline] SAM3 prepass 3761/3839 frame=112800 src_idx=112800 ms=590.3 active=True objects=1 L=[0] area=0.2986 R=[0] area=0.2990 stereo=paired gpu=12535/16303MiB
Traceback (most recent call last):
File "main.py", line 690, in <module>
File "main.py", line 374, in main
File "main.py", line 292, in _run_legacy_tool
File "tools\offline_alpha_passthrough.py", line 1296, in main
File "tools\offline_alpha_passthrough.py", line 681, in _precompute_sam3_segment_masks
File "offline\decoded_frames.py", line 27, in decoded_frame_to_bgr
cv2.error: OpenCV(4.13.0) D:\a\opencv-python\opencv-python\opencv\modules\core\src\alloc.cpp:73: error: (-4:Insufficient memory) Failed to allocate 88473600 bytes in function 'cv::OutOfMemoryError'
[PYI-17536:ERROR] Failed to execute script 'main' due to unhandled exception!
[offline-sam3] child process exited rc=1
Traceback (most recent call last):
File "main.py", line 690, in <module>
File "main.py", line 374, in main
File "main.py", line 292, in _run_legacy_tool
File "tools\offline_alpha_passthrough.py", line 1296, in main
File "tools\offline_alpha_passthrough.py", line 612, in _precompute_sam3_segment_masks
File "tools\offline_alpha_passthrough.py", line 876, in _precompute_sam3_segment_masks_subprocess
File "utils\subprocess_hidden.py", line 96, in run_hidden_streaming
subprocess.CalledProcessError: Command '['D:\\VR_Video_Passthrough_Server\\pt_core.exe', 'tool', 'offline_alpha_passthrough', 'D:\\convert\\SIVR-302-cd4.mp4', '--engine', 'matanyone2_onnx', '--model', 'D:\\VR_Video_Passthrough_Server\\models\\matanyone2_onnx_1024_bs1', '--matanyone2-size', '1024', '--matanyone2-batch', '1', '--sam3-model-dir', 'D:\\VR_Video_Passthrough_Server\\models\\sam3_onnx', '--sam3-prompt', 'people', '--sam3-score-threshold', '0.5', '--sam3-min-area-ratio', '0.0005', '--sam3-max-area-ratio', '0.95', '--sam3-top-k', '0', '--sam3-scan', 'hybrid', '--sam3-scan-interval-sec', '1.0', '--sam3-active-min-area-ratio', '0.001', '--sam3-provider', 'cuda', '--sam3-decoder-provider', 'cuda', '--sam3-cuda-memory-limit-mb', '8192', '--sam3-decoder-cuda-memory-limit-mb', '4096', '--sam3-min-vram-gb', '15.5', '--sam3-release-interval', '0', '--no-sam3-low-memory', '--sam3-low-memory-batch', '1', '--sam3-log-vram', '--matanyone2-segment-frames', '240', '--matanyone2-min-segment-sec', '3.0', '--sam3-gap-fill-frames', '300', '--frames', '115156', '--fps', '60.0', '--sam3-prepass-out', 'D:\\VR_Video_Passthrough_Server\\debug_output\\_sam3_prepass\\sam3_prepass_1782677383137_1402378736400.npz']' returned non-zero exit status 1.
[PYI-11664:ERROR] Failed to execute script 'main' due to unhandled exception!
[offline] child process exited rc=1
[offline] process exited with error rc=1
大佬,大佬,我用SAM3,P7模型,5080显卡离线转透视视频,全崩溃了, 不知道是什么原因,完整日志在附件里,麻烦帮看一下 |
|