Skip to content

🐍 Geometric Computer Vision Library for Spatial AI

fix lint

dvd42eede7034b99a
diff --git a/kornia/augmentation/augmentations.py b/kornia/augmentation/augmentations.py
index 79aa9a438..1ec76e15e 100644
--- a/kornia/augmentation/augmentations.py
+++ b/kornia/augmentation/augmentations.py
@@ -60,7 +60,6 @@ class RandomHorizontalFlip(nn.Module):
# Transform image but pass along the previous transformation
return random_hflip(input[0], self.p, self.return_transform), input[1]
-
return random_hflip(input, self.p, self.return_transform)
diff --git a/test/augmentation/test_augmentation.py b/test/augmentation/test_augmentation.py
index 4be23e23a..e8594fa8d 100644
--- a/test/augmentation/test_augmentation.py
+++ b/test/augmentation/test_augmentation.py
@@ -78,7 +78,6 @@ class TestRandomHorizontalFlip:
assert (f1(input)[0] == input).all()
assert (f1(input)[1] == identity).all()
-
def test_sequential(self):
f = nn.Sequential(
@@ -105,7 +104,6 @@ class TestRandomHorizontalFlip:
assert(f1(input)[0] == input).all()
assert(f1(input)[1] == expected_transform).all()
-
@pytest.mark.skip(reason="turn off all jit for a while")
def test_jit(self):
@torch.jit.script