Unverified Commit 545d50a4 authored by Yuan Liu's avatar Yuan Liu Committed by GitHub
Browse files

[Fix]: Add has_image to scienceqa (#391)


Co-authored-by: default avatarbensenliu <bensenliu@tencent.com>
parent 47a752cd
...@@ -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'
]) ])
] ]
......
...@@ -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'
]) ])
] ]
......
...@@ -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'
]) ])
] ]
......
...@@ -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'
]) ])
] ]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment