π Geometric Computer Vision Library for Spatial AI
Python artificial-intelligencecomputer-visiondeep-learninghacktoberfestimage-processingmachine-learningneural-networkpythonpytorchroboticsspatial-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.pyindex 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 nnimport torch.nn.functional as Fimport kornia-from kornia.geometry import normalize_pixel_coordinates, normalize_pixel_coordinates3d+from kornia.geometry.conversions import normalize_pixel_coordinates, normalize_pixel_coordinates3dfrom kornia.geometry.subpix import dsntfrom kornia.utils import create_meshgrid, create_meshgrid3dfrom kornia.utils.helpers import _torch_solve_cast