未验证 提交 a65395fd 编写于 作者: B Bai Yifan 提交者: GitHub

fix eval run api usage in slim/distillation (#655)

上级 94a2f9fb
...@@ -338,7 +338,7 @@ def main(): ...@@ -338,7 +338,7 @@ def main():
eval_prog) eval_prog)
# eval # eval
results = eval_run(exe, compiled_eval_prog, eval_loader, eval_keys, results = eval_run(exe, compiled_eval_prog, eval_loader, eval_keys,
eval_values, eval_cls) eval_values, eval_cls, cfg)
resolution = None resolution = None
box_ap_stats = eval_results(results, cfg.metric, cfg.num_classes, box_ap_stats = eval_results(results, cfg.metric, cfg.num_classes,
resolution, is_bbox_normalized, resolution, is_bbox_normalized,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册