Skip to content

Commit

Permalink
fix bug (#760)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShenYuhan committed Aug 19, 2020
1 parent f177684 commit d129748
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion visualdl/server/lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down
2 changes: 1 addition & 1 deletion visualdl/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# limitations under the License.
# =======================================================================

vdl_version = '2.0.0'
vdl_version = '2.0.1'

0 comments on commit d129748

Please sign in to comment.