π Geometric Computer Vision Library for Spatial AI
Python artificial-intelligencecomputer-visiondeep-learninghacktoberfestimage-processingmachine-learningneural-networkpythonpytorchroboticsspatial-ai
pyrdown fix
Dmytro Mishkin4d789acd7860
diff --git a/kornia/geometry/transform/pyramid.py b/kornia/geometry/transform/pyramid.pyindex dd39f2ea9..325f98a17 100644--- a/kornia/geometry/transform/pyramid.py+++ b/kornia/geometry/transform/pyramid.py@@ -60,7 +60,7 @@ class PyrDown(nn.Module):input, self.kernel, self.border_type)# reject even rows and columns.- out: torch.Tensor = x_blur[..., ::2, ::2]+ out: torch.Tensor = F.avg_pool2d(x_blur, 2,2)return out