π Geometric Computer Vision Library for Spatial AI
Python artificial-intelligencecomputer-visiondeep-learninghacktoberfestimage-processingmachine-learningneural-networkpythonpytorchroboticsspatial-ai
amalgam cuda hotfix
Dmytro Mishkine32542331a5c
diff --git a/kornia/feature/adalam/utils.py b/kornia/feature/adalam/utils.pyindex b30736ee9..fec29c041 100644--- a/kornia/feature/adalam/utils.py+++ b/kornia/feature/adalam/utils.py@@ -119,7 +119,7 @@ def draw_first_k_couples(k: int, rdims: int, dv: torch.device):repeats = torch.cat([torch.arange(max_exhaustive_search, dtype=torch.long, device=dv) + 1,- torch.tensor([residual_search], dtype=torch.long),+ torch.tensor([residual_search], dtype=torch.long, device=dv),])idx_sequence = torch.stack([repeats.repeat_interleave(repeats), arange_sequence(repeats)], dim=-1)