MCPcopy Create free account
hub / github.com/chenhaoxing/HDNet / updateWriterInterval

Function updateWriterInterval

train_evaluate.py:102–105  ·  view source on GitHub ↗
(writer, metrics, epoch)

Source from the content-addressed store, hash-verified

100 return interval_metrics
101
102def updateWriterInterval(writer, metrics, epoch):
103 for k, v in metrics.items():
104 writer.add_scalar('interval/{}-MSE'.format(k), v[0], epoch)
105 writer.add_scalar('interval/{}-PSNR'.format(k), v[1], epoch)
106
107if __name__ == '__main__':
108 # setup_seed(6)

Callers 1

train_evaluate.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected