π Geometric Computer Vision Library for Spatial AI
Python artificial-intelligencecomputer-visiondeep-learninghacktoberfestimage-processingmachine-learningneural-networkpythonpytorchroboticsspatial-ai
fix bbox module import in augmentations (#1141)
Daniel Koguciukf9c3565e0499
diff --git a/kornia/augmentation/augmentation.py b/kornia/augmentation/augmentation.pyindex 24a5e32ca..5bb09998c 100644--- a/kornia/augmentation/augmentation.py+++ b/kornia/augmentation/augmentation.py@@ -22,8 +22,6 @@ from kornia.enhance.normalize import denormalize, normalizefrom kornia.filters import box_blur, gaussian_blur2d, motion_blurfrom kornia.geometry import (affine,- bbox_generator,- bbox_to_mask,crop_by_transform_mat,deg2rad,elastic_transform2d,@@ -38,6 +36,7 @@ from kornia.geometry import (warp_image_tps,warp_perspective,)+from kornia.geometry.bbox import bbox_generator, bbox_to_maskfrom kornia.geometry.transform.affwarp import _compute_rotation_matrix, _compute_tensor_centerfrom kornia.utils import _extract_device_dtype, create_meshgrid