diff --git a/visualdl/server/lib.py b/visualdl/server/lib.py index e46026473fa55b19dca9ef0321b826a0b8e6e474..22a19c018e1d3cc83a532a9ef4714f2393371aed 100644 --- a/visualdl/server/lib.py +++ b/visualdl/server/lib.py @@ -128,7 +128,7 @@ def get_scalar(log_reader, run, tag): def get_scalar_data(log_reader, run, tag, type='tsv'): run = log_reader.name2tags[run] if run in log_reader.name2tags else run log_reader.load_new_data() - result = log_reader.get_log_data('scalar', run, tag) + result = log_reader.get_log_data('scalar', run, decode_tag(tag)) delimeter = '\t' if 'tsv' == type else ',' with io.StringIO() as fp: csv_writer = csv.writer(fp, delimiter=delimeter)