Skip to content

Commit

Permalink
fix #116
Browse files Browse the repository at this point in the history
  • Loading branch information
lanpa committed Apr 13, 2018
1 parent a0dd807 commit c9a84bc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tensorboardX/writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,6 @@ def add_scalar(self, tag, scalar_value, global_step=None):
global_step (int): Global step value to record
"""
self.file_writer.add_summary(scalar(tag, scalar_value), global_step)
self.__append_to_scalar_dict(tag, scalar_value, global_step, time.time())

def add_scalars(self, main_tag, tag_scalar_dict, global_step=None):
"""Adds many scalar data to summary.
Expand Down

0 comments on commit c9a84bc

Please sign in to comment.