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

Method plot_current_errors

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

Source from the content-addressed store, hash-verified

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

Callers 1

train.pyFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected