MCPcopy Create free account
hub / github.com/OpenDriveLab/ReSim / __init__

Method __init__

sat/sgm/modules/diffusionmodules/openaimodel.py:1225–1229  ·  view source on GitHub ↗
(self, in_channels=3, model_channels=64)

Source from the content-addressed store, hash-verified

1223
1224 class Dummy(nn.Module):
1225 def __init__(self, in_channels=3, model_channels=64):
1226 super().__init__()
1227 self.input_blocks = nn.ModuleList(
1228 [TimestepEmbedSequential(conv_nd(2, in_channels, model_channels, 3, padding=1))]
1229 )
1230
1231 model = UNetModel(
1232 use_checkpoint=True,

Callers 11

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls 2

conv_ndFunction · 0.85

Tested by

no test coverage detected