Skip to content

Commit

Permalink
[Fix]: Add has_image to scienceqa
Browse files Browse the repository at this point in the history
  • Loading branch information
bensenliu committed Sep 13, 2023
1 parent 47a752c commit 5a9206b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion configs/multimodal/instructblip/instructblip_scienceqa.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
std=(0.26862954, 0.26130258, 0.27577711)),
dict(type='mmpretrain.PackInputs',
algorithm_keys=[
'question', 'gt_answer', 'choices', 'hint', 'lecture', 'solution'
'question', 'gt_answer', 'choices', 'hint', 'lecture', 'solution', 'has_image'
])
]

Expand Down
2 changes: 1 addition & 1 deletion configs/multimodal/llava/llava_7b_scienceqa.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
),
dict(type='mmpretrain.PackInputs',
algorithm_keys=[
'question', 'gt_answer', 'choices', 'hint', 'lecture', 'solution'
'question', 'gt_answer', 'choices', 'hint', 'lecture', 'solution', 'has_image'
])
]

Expand Down
2 changes: 1 addition & 1 deletion configs/multimodal/minigpt_4/minigpt_4_7b_scienceqa.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
std=(0.26862954, 0.26130258, 0.27577711)),
dict(type='mmpretrain.PackInputs',
algorithm_keys=[
'question', 'gt_answer', 'choices', 'hint', 'lecture', 'solution'
'question', 'gt_answer', 'choices', 'hint', 'lecture', 'solution', 'has_image'
])
]

Expand Down
2 changes: 1 addition & 1 deletion configs/multimodal/visualglm/visualglm_6b_scienceqa.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
std=(0.26862954, 0.26130258, 0.27577711)),
dict(type='mmpretrain.PackInputs',
algorithm_keys=[
'question', 'gt_answer', 'choices', 'hint', 'lecture', 'solution'
'question', 'gt_answer', 'choices', 'hint', 'lecture', 'solution', 'has_image'
])
]

Expand Down

0 comments on commit 5a9206b

Please sign in to comment.