MCPcopy Create free account
hub / github.com/NVIDIA/vid2vid / plot_current_errors

Method plot_current_errors

util/visualizer.py:96–100  ·  view source on GitHub ↗
(self, errors, step)

Source from the content-addressed store, hash-verified

94
95 # errors: dictionary of error labels and values
96 def plot_current_errors(self, errors, step):
97 if self.tf_log:
98 for tag, value in errors.items():
99 summary = self.tf.Summary(value=[self.tf.Summary.Value(tag=tag, simple_value=value)])
100 self.writer.add_summary(summary, step)
101
102 # errors: same format as |errors| of plotCurrentErrors
103 def print_current_errors(self, epoch, i, errors, t):

Callers 1

trainFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected