mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2026-04-23 00:17:25 +08:00
[Optimization] Deduplicate shared image/video utilities across VL processors (#6988)
* step1~3 * fix import path * 删除重复代码 * 删除重复代码 * 删除重复代码 * fix import path * update * fix import path * add unit test * fix * update * fix unit test
This commit is contained in:
@@ -21,7 +21,7 @@ import numpy as np
|
||||
from PIL import Image
|
||||
|
||||
from fastdeploy.input.qwen_vl_processor import QwenVLProcessor
|
||||
from fastdeploy.input.qwen_vl_processor.process_video import sample_frames
|
||||
from fastdeploy.input.video_utils import sample_frames_qwen as sample_frames
|
||||
|
||||
|
||||
def mock_pil_image(height, width):
|
||||
|
||||
Reference in New Issue
Block a user