working static ae training
This commit is contained in:
+2
-1
@@ -69,7 +69,8 @@ class Decoder(nn.Module):
|
||||
|
||||
self.decoder = ConvNeXt(block_setting=block_setting, kernel_size=kernel_size, is_label=is_label, nr_of_labels=nr_of_classes, device=device, reversed=True)
|
||||
|
||||
self.softmax = nn.Softmax(dim=1)
|
||||
if self.is_label:
|
||||
self.softmax = nn.Softmax(dim=1)
|
||||
|
||||
def forward(self, inputs):
|
||||
if len(inputs) == 2:
|
||||
|
||||
Reference in New Issue
Block a user