⚗️ | Experimenting with training optimization.
This commit is contained in:
@@ -5,13 +5,18 @@ class SISUGenerator(nn.Module):
|
||||
super(SISUGenerator, self).__init__()
|
||||
self.model = nn.Sequential(
|
||||
nn.Conv1d(2, 128, kernel_size=3, padding=1),
|
||||
nn.LeakyReLU(0.2, inplace=True),
|
||||
nn.Conv1d(128, 256, kernel_size=3, padding=1),
|
||||
nn.LeakyReLU(0.2, inplace=True),
|
||||
|
||||
nn.Upsample(scale_factor=upscale_scale, mode='nearest'),
|
||||
|
||||
nn.Conv1d(256, 128, kernel_size=3, padding=1),
|
||||
nn.LeakyReLU(0.2, inplace=True),
|
||||
nn.Conv1d(128, 64, kernel_size=3, padding=1),
|
||||
nn.Conv1d(64, 2, kernel_size=3, padding=1)
|
||||
nn.LeakyReLU(0.2, inplace=True),
|
||||
nn.Conv1d(64, 2, kernel_size=3, padding=1),
|
||||
nn.Tanh()
|
||||
)
|
||||
|
||||
def forward(self, x):
|
||||
|
Reference in New Issue
Block a user