mirror of
https://github.com/OpenBMB/MiniCPM-V.git
synced 2026-02-05 18:29:18 +08:00
Modify eval_mm for MiniCPM-o 2.6
This commit is contained in:
@@ -4,12 +4,19 @@ from ..smp import *
|
||||
|
||||
|
||||
def img_root_map(dataset):
|
||||
if 'MM_NIAH' in dataset:
|
||||
return 'MMNIAH'
|
||||
if 'CRPE' in dataset:
|
||||
return 'CRPE'
|
||||
if 'OCRVQA' in dataset:
|
||||
return 'OCRVQA'
|
||||
if 'COCO_VAL' == dataset:
|
||||
return 'COCO'
|
||||
if 'MMMU' in dataset:
|
||||
return 'MMMU'
|
||||
if "QSpatial" in dataset:
|
||||
return "QSpatial"
|
||||
|
||||
mmbench_root_map = {
|
||||
'MMBench_DEV_EN': 'MMBench', 'MMBench_TEST_EN': 'MMBench',
|
||||
'MMBench_DEV_CN': 'MMBench', 'MMBench_TEST_CN': 'MMBench',
|
||||
|
||||
Reference in New Issue
Block a user