未验证 提交 c43ba89f 编写于 作者: 走神的阿圆's avatar 走神的阿圆 提交者: GitHub

fix pr display_name bug (#816)

上级 29791b8e
......@@ -169,9 +169,10 @@ def get_pr_curve(log_reader, run, tag):
def get_pr_curve_step(log_reader, run, tag=None):
fake_run = run
run = log_reader.name2tags[run] if run in log_reader.name2tags else run
run2tag = get_pr_curve_tags(log_reader)
tag = run2tag['tags'][run2tag['runs'].index(run)][0]
tag = run2tag['tags'][run2tag['runs'].index(fake_run)][0]
log_reader.load_new_data()
records = log_reader.data_manager.get_reservoir("pr_curve").get_items(
run, decode_tag(tag))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册