π Geometric Computer Vision Library for Spatial AI
Python artificial-intelligencecomputer-visiondeep-learninghacktoberfestimage-processingmachine-learningneural-networkpythonpytorchroboticsspatial-ai
Fix outdated example (#465)
Shunta Komatsuad8d170ddfad
diff --git a/kornia/geometry/transform/crop.py b/kornia/geometry/transform/crop.pyindex df622d236..e1aeb9703 100644--- a/kornia/geometry/transform/crop.py+++ b/kornia/geometry/transform/crop.py@@ -36,9 +36,9 @@ def crop_and_resize(tensor: torch.Tensor, boxes: torch.Tensor, size: Tuple[int,]])>>> boxes = torch.tensor([[[1., 1.],- [1., 2.],[2., 1.],[2., 2.],+ [1., 2.],]]) # 1x4x2>>> kornia.crop_and_resize(input, boxes, (2, 2))tensor([[[ 6.0000, 7.0000],