From 67a97794eec1a292822bde42730953ed4718c270 Mon Sep 17 00:00:00 2001 From: hoshi-hiyouga Date: Sun, 29 Sep 2024 20:54:04 +0800 Subject: [PATCH] Update mm_plugin.py Former-commit-id: 507de0df036e39eae3a3887ded9165bd918ee48f --- src/llamafactory/data/mm_plugin.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/llamafactory/data/mm_plugin.py b/src/llamafactory/data/mm_plugin.py index 29d80b50..3684495b 100644 --- a/src/llamafactory/data/mm_plugin.py +++ b/src/llamafactory/data/mm_plugin.py @@ -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(