MCPcopy Create free account
hub / github.com/IRMVLab/SemGauss-SLAM / reset

Method reset

utils/segmentationMetric.py:65–70  ·  view source on GitHub ↗

Resets the internal evaluation result to initial state.

(self)

Source from the content-addressed store, hash-verified

63 return pixAcc, mIoU
64
65 def reset(self):
66 """Resets the internal evaluation result to initial state."""
67 self.total_inter = torch.zeros(self.nclass)
68 self.total_union = torch.zeros(self.nclass)
69 self.total_correct = 0
70 self.total_label = 0
71
72
73# pytorch version

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected