Spaces:
Sleeping
Sleeping
File size: 299 Bytes
7def147 88ad01d 7def147 88ad01d 7def147 88ad01d |
1 2 3 4 5 6 7 8 9 10 11 |
import numpy as np
import json
from vg_evaluator import evaluation_for_challenge
def run_evaluation(pred_path):
pred_ = json.load(open(pred_path))
gt_ = json.load(open('test_annotations_mmscan.json'))
results = evaluation_for_challenge(gt_,pred_)
return results['[email protected]'] |