diff --git a/visualdl/server/lib.py b/visualdl/server/lib.py index 7976fd45b2666ded67c956c074a94bafd035bfce..660b1ae6b26ab3ce47bf1749554a8fb8212e21e8 100644 --- a/visualdl/server/lib.py +++ b/visualdl/server/lib.py @@ -166,7 +166,8 @@ def get_pr_curve(log_reader, run, tag): def get_pr_curve_step(log_reader, run, tag=None): 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() records = log_reader.data_manager.get_reservoir("pr_curve").get_items( run, decode_tag(tag)) diff --git a/visualdl/version.py b/visualdl/version.py index 0bcb49fe14b8318a4681c64b38288f2d1dfbc948..16511fb0f23b48e892bb7715d413d4f870446a3e 100644 --- a/visualdl/version.py +++ b/visualdl/version.py @@ -13,4 +13,4 @@ # limitations under the License. # ======================================================================= -vdl_version = '2.0.0' +vdl_version = '2.0.1'