π Geometric Computer Vision Library for Spatial AI
Python artificial-intelligencecomputer-visiondeep-learninghacktoberfestimage-processingmachine-learningneural-networkpythonpytorchroboticsspatial-ai
modify variable name
HassanAlsamahi90c15ecaf770
diff --git a/kornia/color/gray.py b/kornia/color/gray.pyindex 7e3276300..ecdda831a 100644--- a/kornia/color/gray.py+++ b/kornia/color/gray.py@@ -111,5 +111,5 @@ def bgr_to_grayscale(input: torch.Tensor) -> torch.Tensor:.format(input.shape))input_rgb = bgr_to_rgb(input)- gray: torch.Tensor = rgb_to_grayscale(bgr_rgb)+ gray: torch.Tensor = rgb_to_grayscale(input_rgb)return gray