|
|
发表于 2025-9-30 21:16:35
|
显示全部楼层
Running LADA restoration (forward -> __FWD)...
Processing frames: 25%|█████████▍ | 2030/7983 [04:16<12:31, 7.92it/s]
Exception in thread Thread-7 (_frame_restoration_worker):
Traceback (most recent call last):
Exception in thread Thread-9 (_frame_detector_worker):
File "threading.py", line 1075, in _bootstrap_inner
Traceback (most recent call last):
File "threading.py", line 1012, in run
File "threading.py", line 1075, in _bootstrap_inner
File "I:\Lada\python\Lib\site-packages\lada\lib\frame_restorer.py", line 330, in _frame_restoration_worker
File "threading.py", line 1012, in run
self._restore_frame(frame, frame_num, clip_buffer)
File "I:\Lada\python\Lib\site-packages\lada\lib\mosaic_detector.py", line 451, in _frame_detector_worker
File "I:\Lada\python\Lib\site-packages\lada\lib\frame_restorer.py", line 211, in _restore_frame
self._create_or_append_scenes_based_on_prediction_result(results, scenes, frame_num)
blend_mask = mask_utils.create_blend_mask(clip_mask)
File "I:\Lada\python\Lib\site-packages\lada\lib\mosaic_detector.py", line 328, in _create_or_append_scenes_based_on_prediction_result
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "I:\Lada\python\Lib\site-packages\lada\lib\mask_utils.py", line 68, in create_blend_mask
mask = convert_yolo_mask(results.masks[i], results.orig_shape)
blend_mask = np.pad(blend_mask, ((math.floor(h_outer / 2), math.ceil(h_outer / 2)), (math.floor(w_outer / 2), math.ceil(w_outer / 2))), mode='constant', constant_values=0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "I:\Lada\python\Lib\site-packages\lada\lib\ultralytics_utils.py", line 40, in convert_yolo_mask
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "I:\Lada\python\Lib\site-packages\numpy\lib\_arraypad_impl.py", line 811, in pad
mask_img = np.where(mask_img > 127, 255, 0).astype(np.uint8)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
numpy._core._exceptions._ArrayMemoryError: Unable to allocate 15.8 MiB for an array with shape (1080, 1920, 1) and data type int64
padded, original_area_slice = _pad_simple(array, pad_width)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "I:\Lada\python\Lib\site-packages\numpy\lib\_arraypad_impl.py", line 114, in _pad_simple
padded = np.empty(new_shape, dtype=array.dtype, order=order)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
numpy._core._exceptions._ArrayMemoryError: Unable to allocate 2.72 MiB for an array with shape (572, 624) and data type float64
Error on export
Forward pass OK: 00h, 04m, 29s
Applying temporal smoothing...
Trailing option(s) found in the command: may be ignored.
-vsync is deprecated. Use -fps_mode
Passing a number to -vsync is deprecated, use a string argument as described in the manual.
[in#0 @ 0000000002A27A00] Error opening input: No such file or directory
Error opening input file output\SDNM-336-__FWD.mp4.
Error opening input files: No such file or directory
output\SDNM-336-__FWD_TS.mp4
An unexpected error occurred during processing: Temporal smoothing failed (-2)
=====================================================================================
BATCH PROCESSING SUMMARY
=====================================================================================
Started at: 2025-09-30 21:10:44
Total files attempted: 1
Successful: 0
Failed: 1
Failed file list:
- SDNM-336-.mp4
Total LADA time: 00h, 04m, 29s
Total TVAI time: 00h, 00m, 00s
Total processing time: 00h, 04m, 31s
Completed at: 2025-09-30 21:15:15
=====================================================================================
Press [Enter] to exit, or [Spacebar] to process another file. |
|