Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
opencompass
Commits
2cd994c3
"git@developer.sourcefind.cn:gaoqiong/composable_kernel.git" did not exist on "dc663fae299ef998dc4043d370d24dd2f0281056"
Unverified
Commit
2cd994c3
authored
Sep 04, 2023
by
Yixiao Fang
Committed by
GitHub
Sep 04, 2023
Browse files
[Fix] add import check of multimodal (#352)
parent
8774465a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
3 deletions
+13
-3
opencompass/multimodal/models/__init__.py
opencompass/multimodal/models/__init__.py
+13
-3
No files found.
opencompass/multimodal/models/__init__.py
View file @
2cd994c3
...
...
@@ -8,9 +8,19 @@ if satisfy_requirement('salesforce-lavis'):
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
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
from
.mplug_owl
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
if
osp
.
exists
(
'opencompass/multimodal/models/otter/Otter'
):
from
.otter
import
*
# noqa: F401, F403
from
.visualglm
import
*
# noqa: F401, F403
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment