Skip to content

Commit

Permalink
fix bug with skip layer excitation
Browse files Browse the repository at this point in the history
  • Loading branch information
lucidrains committed Nov 16, 2020
1 parent dc348de commit 51fc0ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lightweight_gan/lightweight_gan.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ def forward(self, x):
residuals[out_res] = residual

if res in residuals:
x = x + residuals[res]
x = x * residuals[res]

x = self.out_conv(x)
return x.tanh()
Expand Down
2 changes: 1 addition & 1 deletion lightweight_gan/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.1.0'
__version__ = '0.1.1'

0 comments on commit 51fc0ee

Please sign in to comment.