From 29c921abc46ea2b56efd19b4a03f053104920c85 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Sun, 21 Aug 2022 23:46:30 +0200 Subject: [PATCH 1/2] Remove unused Timeout import Signed-off-by: Glenn Jocher --- utils/plots.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/plots.py b/utils/plots.py index 7e1de43aba1b..177dea05ec0e 100644 --- a/utils/plots.py +++ b/utils/plots.py @@ -19,8 +19,8 @@ import torch from PIL import Image, ImageDraw, ImageFont -from utils.general import (CONFIG_DIR, FONT, LOGGER, Timeout, check_font, check_requirements, clip_coords, - increment_path, is_ascii, threaded, try_except, xywh2xyxy, xyxy2xywh) +from utils.general import (CONFIG_DIR, FONT, LOGGER, check_font, check_requirements, clip_coords, increment_path, + is_ascii, threaded, try_except, xywh2xyxy, xyxy2xywh) from utils.metrics import fitness # Settings From 12ee95b47419c9ea88c11666f5da4cf8f85c8ef3 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sun, 21 Aug 2022 21:46:49 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- utils/plots.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/plots.py b/utils/plots.py index 177dea05ec0e..d35e2bdd168a 100644 --- a/utils/plots.py +++ b/utils/plots.py @@ -19,7 +19,7 @@ import torch from PIL import Image, ImageDraw, ImageFont -from utils.general import (CONFIG_DIR, FONT, LOGGER, check_font, check_requirements, clip_coords, increment_path, +from utils.general import (CONFIG_DIR, FONT, LOGGER, check_font, check_requirements, clip_coords, increment_path, is_ascii, threaded, try_except, xywh2xyxy, xyxy2xywh) from utils.metrics import fitness