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

Co-authored-by: bensenliu <bensenliu@tencent.com>
This commit is contained in:
Yuan Liu 2023-09-13 13:07:14 +08:00 committed by GitHub
parent 47a752cd56
commit 545d50a4c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -16,7 +16,7 @@ val_pipeline = [
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'
])
]

View File

@ -15,7 +15,7 @@ val_pipeline = [
),
dict(type='mmpretrain.PackInputs',
algorithm_keys=[
'question', 'gt_answer', 'choices', 'hint', 'lecture', 'solution'
'question', 'gt_answer', 'choices', 'hint', 'lecture', 'solution', 'has_image'
])
]

View File

@ -14,7 +14,7 @@ val_pipeline = [
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'
])
]

View File

@ -13,7 +13,7 @@ val_pipeline = [
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'
])
]