(self, in_channels=3, model_channels=64)
| 1232 | |
| 1233 | class Dummy(nn.Module): |
| 1234 | def __init__(self, in_channels=3, model_channels=64): |
| 1235 | super().__init__() |
| 1236 | self.input_blocks = nn.ModuleList( |
| 1237 | [ |
| 1238 | TimestepEmbedSequential( |
| 1239 | conv_nd(2, in_channels, model_channels, 3, padding=1) |
| 1240 | ) |
| 1241 | ] |
| 1242 | ) |
| 1243 | |
| 1244 | model = UNetModel( |
| 1245 | use_checkpoint=True, |