Skip to content

Commit

Permalink
update kornia
Browse files Browse the repository at this point in the history
  • Loading branch information
lucidrains committed Jun 13, 2021
1 parent 0e14694 commit 169e069
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lightweight_gan/lightweight_gan.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
from PIL import Image
import torchvision
from torchvision import transforms
from kornia import filter2D
from kornia import filter2d

from lightweight_gan.diff_augment import DiffAugment
from lightweight_gan.version import __version__
Expand Down Expand Up @@ -190,7 +190,7 @@ def __init__(self):
def forward(self, x):
f = self.f
f = f[None, None, :] * f [None, :, None]
return filter2D(x, f, normalized=True)
return filter2d(x, f, normalized=True)

# attention

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.20.1'
__version__ = '0.20.2'
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
'adabelief-pytorch',
'einops>=0.3',
'fire',
'kornia',
'kornia>=0.5.4',
'numpy',
'pillow',
'retry',
Expand Down

0 comments on commit 169e069

Please sign in to comment.