mirror of
https://github.com/open-compass/opencompass.git
synced 2025-05-30 16:03:24 +08:00

* [Feat] Add public dataset support for visualglm, qwenvl, and flamingo * [Fix] MMBench related changes. * [Fix] Openflamingo inference. * [Fix] Hide ckpt path. * [Fix] Pre-commit. --------- Co-authored-by: Haodong Duan <dhd.efz@gmail.com>
25 lines
799 B
Python
25 lines
799 B
Python
import os.path as osp
|
|
|
|
from opencompass.utils import satisfy_requirement
|
|
|
|
if satisfy_requirement('salesforce-lavis'):
|
|
from .instructblip import * # noqa: F401, F403
|
|
|
|
if osp.exists('opencompass/multimodal/models/minigpt_4/MiniGPT-4'):
|
|
from .minigpt_4 import * # noqa: F401, F403
|
|
|
|
if osp.exists(
|
|
'opencompass/multimodal/models/llama_adapter_v2_multimodal/LLaMA-Adapter' # noqa
|
|
):
|
|
from .llama_adapter_v2_multimodal import * # noqa: F401, F403
|
|
|
|
from .llava import * # noqa: F401, F403
|
|
|
|
if osp.exists('opencompass/multimodal/models/mplug_owl/mPLUG-Owl'):
|
|
from .mplug_owl import * # noqa: F401, F403
|
|
|
|
from .openflamingo import * # noqa: F401, F403
|
|
from .otter import * # noqa: F401, F403
|
|
from .qwen import * # noqa: F401, F403
|
|
from .visualglm import * # noqa: F401, F403
|