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

* refine gitignore * [Feature]: Add minigpt-4 * [Feature]: Add mm local runner * [Feature]: Add instructblip * add otter and llama-adapter * add owl * add llama2-adapter and owl * lint * [Feature]: Add minigpt-4 * [Feature]: Add instructblip * add otter and llama-adapter * add owl * add llama2-adapter and owl * lint * lint * update * lint * lint * add __init__.py * update * update * update --------- Co-authored-by: liuyuan <3463423099@qq.com>
17 lines
572 B
Python
17 lines
572 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
|
|
|
|
from .llama_adapter_v2_multimodal import * # noqa: F401, F403
|
|
from .llava import * # noqa: F401, F403
|
|
from .mplug_owl import * # noqa: F401, F403
|
|
from .openflamingo import * # noqa: F401, F403
|
|
from .otter import * # noqa: F401, F403
|
|
from .visualglm import * # noqa: F401, F403
|