OLA-VLM / ola_vlm /eval /eval_mmstar.py
praeclarumjj3's picture
:zap: add code
9fa3d89
raw
history blame contribute delete
378 Bytes
import os
import argparse
import json
from ola_vlm.eval.mmstar.evaluate import MMStar_eval
def parse_args():
parser = argparse.ArgumentParser()
parser.add_argument('--results_file', type=str, default="./playground/data/eval/mmstar_results.jsonl")
return parser.parse_args()
if __name__ == '__main__':
args = parse_args()
MMStar_eval(args.results_file)