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
545d50a4
Unverified
Commit
545d50a4
authored
Sep 13, 2023
by
Yuan Liu
Committed by
GitHub
Sep 13, 2023
Browse files
[Fix]: Add has_image to scienceqa (#391)
Co-authored-by:
bensenliu
<
bensenliu@tencent.com
>
parent
47a752cd
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
configs/multimodal/instructblip/instructblip_scienceqa.py
configs/multimodal/instructblip/instructblip_scienceqa.py
+1
-1
configs/multimodal/llava/llava_7b_scienceqa.py
configs/multimodal/llava/llava_7b_scienceqa.py
+1
-1
configs/multimodal/minigpt_4/minigpt_4_7b_scienceqa.py
configs/multimodal/minigpt_4/minigpt_4_7b_scienceqa.py
+1
-1
configs/multimodal/visualglm/visualglm_6b_scienceqa.py
configs/multimodal/visualglm/visualglm_6b_scienceqa.py
+1
-1
No files found.
configs/multimodal/instructblip/instructblip_scienceqa.py
View file @
545d50a4
...
@@ -16,7 +16,7 @@ val_pipeline = [
...
@@ -16,7 +16,7 @@ val_pipeline = [
std
=
(
0.26862954
,
0.26130258
,
0.27577711
)),
std
=
(
0.26862954
,
0.26130258
,
0.27577711
)),
dict
(
type
=
'mmpretrain.PackInputs'
,
dict
(
type
=
'mmpretrain.PackInputs'
,
algorithm_keys
=
[
algorithm_keys
=
[
'question'
,
'gt_answer'
,
'choices'
,
'hint'
,
'lecture'
,
'solution'
'question'
,
'gt_answer'
,
'choices'
,
'hint'
,
'lecture'
,
'solution'
,
'has_image'
])
])
]
]
...
...
configs/multimodal/llava/llava_7b_scienceqa.py
View file @
545d50a4
...
@@ -15,7 +15,7 @@ val_pipeline = [
...
@@ -15,7 +15,7 @@ val_pipeline = [
),
),
dict
(
type
=
'mmpretrain.PackInputs'
,
dict
(
type
=
'mmpretrain.PackInputs'
,
algorithm_keys
=
[
algorithm_keys
=
[
'question'
,
'gt_answer'
,
'choices'
,
'hint'
,
'lecture'
,
'solution'
'question'
,
'gt_answer'
,
'choices'
,
'hint'
,
'lecture'
,
'solution'
,
'has_image'
])
])
]
]
...
...
configs/multimodal/minigpt_4/minigpt_4_7b_scienceqa.py
View file @
545d50a4
...
@@ -14,7 +14,7 @@ val_pipeline = [
...
@@ -14,7 +14,7 @@ val_pipeline = [
std
=
(
0.26862954
,
0.26130258
,
0.27577711
)),
std
=
(
0.26862954
,
0.26130258
,
0.27577711
)),
dict
(
type
=
'mmpretrain.PackInputs'
,
dict
(
type
=
'mmpretrain.PackInputs'
,
algorithm_keys
=
[
algorithm_keys
=
[
'question'
,
'gt_answer'
,
'choices'
,
'hint'
,
'lecture'
,
'solution'
'question'
,
'gt_answer'
,
'choices'
,
'hint'
,
'lecture'
,
'solution'
,
'has_image'
])
])
]
]
...
...
configs/multimodal/visualglm/visualglm_6b_scienceqa.py
View file @
545d50a4
...
@@ -13,7 +13,7 @@ val_pipeline = [
...
@@ -13,7 +13,7 @@ val_pipeline = [
std
=
(
0.26862954
,
0.26130258
,
0.27577711
)),
std
=
(
0.26862954
,
0.26130258
,
0.27577711
)),
dict
(
type
=
'mmpretrain.PackInputs'
,
dict
(
type
=
'mmpretrain.PackInputs'
,
algorithm_keys
=
[
algorithm_keys
=
[
'question'
,
'gt_answer'
,
'choices'
,
'hint'
,
'lecture'
,
'solution'
'question'
,
'gt_answer'
,
'choices'
,
'hint'
,
'lecture'
,
'solution'
,
'has_image'
])
])
]
]
...
...
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