MCPcopy Create free account
hub / github.com/FreeformRobotics/OTS / __init__

Method __init__

models/models.py:9–10  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

7
8class SegmentationModuleBase(nn.Module):
9 def __init__(self):
10 super(SegmentationModuleBase, self).__init__()
11
12 def pixel_acc(self, pred, label):
13 _, preds = torch.max(pred, dim=1)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected