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

fix bug (#760)

上级 f177684d
...@@ -166,7 +166,8 @@ def get_pr_curve(log_reader, run, tag): ...@@ -166,7 +166,8 @@ def get_pr_curve(log_reader, run, tag):
def get_pr_curve_step(log_reader, run, tag=None): def get_pr_curve_step(log_reader, run, tag=None):
run = log_reader.name2tags[run] if run in log_reader.name2tags else run run = log_reader.name2tags[run] if run in log_reader.name2tags else run
tag = get_pr_curve_tags(log_reader)[run][0] if tag is None else tag run2tag = get_pr_curve_tags(log_reader)
tag = run2tag['tags'][run2tag['runs'].index(run)][0]
log_reader.load_new_data() log_reader.load_new_data()
records = log_reader.data_manager.get_reservoir("pr_curve").get_items( records = log_reader.data_manager.get_reservoir("pr_curve").get_items(
run, decode_tag(tag)) run, decode_tag(tag))
......
...@@ -13,4 +13,4 @@ ...@@ -13,4 +13,4 @@
# limitations under the License. # limitations under the License.
# ======================================================================= # =======================================================================
vdl_version = '2.0.0' vdl_version = '2.0.1'
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册