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

Method __init__

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

Source from the content-addressed store, hash-verified

61
62class DepthMetricTracker:
63 def __init__(self):
64 super().__init__()
65 self.delta1s = []
66 self.relabs = []
67
68 self.quantiles = (0.795, 46.679) # DIODE quantiles
69
70 def __call__(self, target, pred):
71 """ Assumes target and pred in [-1, 1] range """

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected