MCPcopy Create free account
hub / github.com/CompVis/diff2flow / reset

Method reset

diff2flow/metrics.py:49–52  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

47 self.psnrs.append(calculate_PSNR(pred/2+0.5, target/2+0.5))
48
49 def reset(self):
50 self.ssims = []
51 self.psnrs = []
52 self.fid.reset()
53
54 def aggregate(self):
55 fid = self.fid.compute()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected