Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentherrmann committed Mar 21, 2018
1 parent fc6463f commit a64606b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wavenet_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ def conditional_network(self, conditioning, file_encoding):
for l in range(len(self.conditioning_layers)):
if l != 0 and l != len(self.conditioning_layers) - 1:
cross_encoding = self.file_conditioning_cross_layers[l-1](file_encoding)
conditioning = F.relu(conditioning + cross_encoding, negative_slope=0.1, inplace=True)
conditioning = F.leaky_relu(conditioning + cross_encoding, negative_slope=0.1, inplace=True)
conditioning = self.conditioning_layers[l](conditioning)

return conditioning
Expand Down

0 comments on commit a64606b

Please sign in to comment.