kfahn commited on
Commit
98bf4bf
1 Parent(s): f2653e0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -57,13 +57,13 @@ class Generator(nn.Module):
57
 
58
  # More downsampling
59
  model3 = []
60
- out_features = in_features*3
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*3
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