MCPcopy Create free account
hub / github.com/ChunmingHe/WS-SAM / __init__

Method __init__

lib/Modules.py:926–931  ·  view source on GitHub ↗
(self, in_channels)

Source from the content-addressed store, hash-verified

924
925class REM_decoder_noSpade_noEdge(nn.Module):
926 def __init__(self, in_channels):
927 super(REM_decoder_noSpade_noEdge, self).__init__()
928 self.decoder4 = Decoder4_noEdge(in_channels)#可以弄4个decoder4
929 self.decoder3 = Decoder4_noEdge(in_channels)
930 self.decoder2 = Decoder4_noEdge(in_channels)
931 self.decoder1 = Decoder4_noEdge(in_channels)
932
933 def forward(self, x, prior_cam, pic):
934 f1, f2, f3, f4 = x

Callers

nothing calls this directly

Calls 2

Decoder4_noEdgeClass · 0.85
__init__Method · 0.45

Tested by

no test coverage detected