File size: 305 Bytes
b5beb60
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
import json
from collections import defaultdict

ds = defaultdict(int)

with open('public_eval/bbox_step_300/MathVista_MINI/20250418/bbox_step_300/bbox_step_300_MathVista_MINI_bbox.json') as infile:
    data = json.load(infile)

for item in data:
    source = item['source']
    ds[source] += 1

print(ds)