From c8441a542216584176fd9a1fab310f722e126a5d Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Sat, 17 Jun 2023 19:53:41 +0200 Subject: [PATCH] Fix `scipy.ndimage.filters` deprecation warning (#3233) --- ultralytics/yolo/utils/plotting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ultralytics/yolo/utils/plotting.py b/ultralytics/yolo/utils/plotting.py index 3a89682..12193d6 100644 --- a/ultralytics/yolo/utils/plotting.py +++ b/ultralytics/yolo/utils/plotting.py @@ -10,7 +10,7 @@ import numpy as np import torch from PIL import Image, ImageDraw, ImageFont from PIL import __version__ as pil_version -from scipy.ndimage.filters import gaussian_filter1d +from scipy.ndimage import gaussian_filter1d from ultralytics.yolo.utils import LOGGER, TryExcept, plt_settings, threaded