Sanket
commited on
Commit
•
c4a0e56
1
Parent(s):
98989c5
fixed issues with features
Browse files
app.py
CHANGED
@@ -34,15 +34,15 @@ class Generator(nn.Module):
|
|
34 |
# Initial convolution block
|
35 |
model0 = [
|
36 |
nn.ReflectionPad2d(3),
|
37 |
-
nn.Conv2d(input_nc,
|
38 |
-
norm_layer(
|
39 |
nn.ReLU(inplace=True),
|
40 |
]
|
41 |
self.model0 = nn.Sequential(*model0)
|
42 |
|
43 |
# Downsampling
|
44 |
model1 = []
|
45 |
-
in_features =
|
46 |
out_features = in_features * 2
|
47 |
for _ in range(2):
|
48 |
model1 += [
|
|
|
34 |
# Initial convolution block
|
35 |
model0 = [
|
36 |
nn.ReflectionPad2d(3),
|
37 |
+
nn.Conv2d(input_nc, 64, 7),
|
38 |
+
norm_layer(64),
|
39 |
nn.ReLU(inplace=True),
|
40 |
]
|
41 |
self.model0 = nn.Sequential(*model0)
|
42 |
|
43 |
# Downsampling
|
44 |
model1 = []
|
45 |
+
in_features = 64
|
46 |
out_features = in_features * 2
|
47 |
for _ in range(2):
|
48 |
model1 += [
|