Skip to content

🐍 Geometric Computer Vision Library for Spatial AI

fix kornia.geometry.subpix.spatial_soft_argmax imports (#1318)

isaac5ab88c7d181e
diff --git a/kornia/geometry/subpix/spatial_soft_argmax.py b/kornia/geometry/subpix/spatial_soft_argmax.py
index 45a213f46..6887666b1 100644
--- a/kornia/geometry/subpix/spatial_soft_argmax.py
+++ b/kornia/geometry/subpix/spatial_soft_argmax.py
@@ -5,7 +5,7 @@ import torch.nn as nn
import torch.nn.functional as F
import kornia
-from kornia.geometry import normalize_pixel_coordinates, normalize_pixel_coordinates3d
+from kornia.geometry.conversions import normalize_pixel_coordinates, normalize_pixel_coordinates3d
from kornia.geometry.subpix import dsnt
from kornia.utils import create_meshgrid, create_meshgrid3d
from kornia.utils.helpers import _torch_solve_cast