Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -57,13 +57,13 @@ class Generator(nn.Module):
|
|
57 |
|
58 |
# More downsampling
|
59 |
model3 = []
|
60 |
-
out_features = in_features
|
61 |
for _ in range(2):
|
62 |
model3 += [ nn.ConvTranspose2d(in_features, out_features, 3, stride=2, padding=1, output_padding=1),
|
63 |
norm_layer(out_features),
|
64 |
nn.ReLU(inplace=True) ]
|
65 |
in_features = out_features
|
66 |
-
out_features = in_features
|
67 |
self.model3 = nn.Sequential(*model3)
|
68 |
|
69 |
# Output layer
|
|
|
57 |
|
58 |
# More downsampling
|
59 |
model3 = []
|
60 |
+
out_features = in_features//2
|
61 |
for _ in range(2):
|
62 |
model3 += [ nn.ConvTranspose2d(in_features, out_features, 3, stride=2, padding=1, output_padding=1),
|
63 |
norm_layer(out_features),
|
64 |
nn.ReLU(inplace=True) ]
|
65 |
in_features = out_features
|
66 |
+
out_features = in_features//2
|
67 |
self.model3 = nn.Sequential(*model3)
|
68 |
|
69 |
# Output layer
|