mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-08-23 06:12:50 +08:00
Update mm_plugin.py
Former-commit-id: ffaea305fc405c9892aa0c9712d98185d9241e69
This commit is contained in:
parent
ce0c73c032
commit
ec793d16de
@ -159,7 +159,6 @@ class BasePlugin:
|
||||
"""
|
||||
image_processor: "BaseImageProcessor" = getattr(processor, "image_processor")
|
||||
video_processor: "BaseImageProcessor" = getattr(processor, "video_processor", image_processor)
|
||||
res = super()._get_mm_inputs(images, [], processor)
|
||||
input_dict = {"images": None} # default key
|
||||
if len(images) != 0:
|
||||
images = self._regularize_images(
|
||||
|
Loading…
x
Reference in New Issue
Block a user