From ec793d16de4b2ca7077d8adbcbdeb09bbce2e7ae 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: ffaea305fc405c9892aa0c9712d98185d9241e69 --- 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(