π Geometric Computer Vision Library for Spatial AI
Python artificial-intelligencecomputer-visiondeep-learninghacktoberfestimage-processingmachine-learningneural-networkpythonpytorchroboticsspatial-ai
Not to globally set warning filter at import time (#1451)
Daichi SUZUO9888fcc14866
diff --git a/kornia/filters/__tmp__.py b/kornia/filters/__tmp__.pyindex 6b8b09402..bb801fd87 100644--- a/kornia/filters/__tmp__.py+++ b/kornia/filters/__tmp__.py@@ -2,13 +2,11 @@ import warningsfrom functools import wrapsfrom typing import Callable-warnings.simplefilter('always', DeprecationWarning)-def __deprecation_warning(name: str, replacement: str):warnings.warn(f"`{name}` will be renamed to `{replacement}` in the future versions. " f"Please use `{replacement}` instead.",- category=DeprecationWarning,+ category=FutureWarning,)