2023-08-24 14:11:29 +08:00
|
|
|
import os.path as osp
|
|
|
|
|
2023-08-03 11:07:50 +08:00
|
|
|
from opencompass.utils import satisfy_requirement
|
|
|
|
|
|
|
|
if satisfy_requirement('salesforce-lavis'):
|
|
|
|
from .instructblip import * # noqa: F401, F403
|
2023-08-21 15:57:30 +08:00
|
|
|
|
2023-08-24 14:11:29 +08:00
|
|
|
if osp.exists('opencompass/multimodal/models/minigpt_4/MiniGPT-4'):
|
|
|
|
from .minigpt_4 import * # noqa: F401, F403
|
|
|
|
|
2023-09-04 14:41:07 +08:00
|
|
|
if osp.exists(
|
|
|
|
'opencompass/multimodal/models/llama_adapter_v2_multimodal/LLaMA-Adapter' # noqa
|
|
|
|
):
|
|
|
|
from .llama_adapter_v2_multimodal import * # noqa: F401, F403
|
|
|
|
|
2023-08-21 15:57:30 +08:00
|
|
|
from .llava import * # noqa: F401, F403
|
2023-09-04 14:41:07 +08:00
|
|
|
|
|
|
|
if osp.exists('opencompass/multimodal/models/mplug_owl/mPLUG-Owl'):
|
|
|
|
from .mplug_owl import * # noqa: F401, F403
|
|
|
|
|
2023-08-24 14:11:29 +08:00
|
|
|
from .openflamingo import * # noqa: F401, F403
|
2023-09-19 19:08:44 +08:00
|
|
|
from .otter import * # noqa: F401, F403
|
2023-09-06 18:42:19 +08:00
|
|
|
from .qwen import * # noqa: F401, F403
|
2023-08-21 15:57:30 +08:00
|
|
|
from .visualglm import * # noqa: F401, F403
|