From b40e2f228ac07d20c4b74bc1214b36e05d54c80a Mon Sep 17 00:00:00 2001 From: SkalskiP Date: Wed, 2 Aug 2023 14:40:16 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20small=20cleanup?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- supervision/dataset/formats/yolo.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/supervision/dataset/formats/yolo.py b/supervision/dataset/formats/yolo.py index da070a0f..0d41f045 100644 --- a/supervision/dataset/formats/yolo.py +++ b/supervision/dataset/formats/yolo.py @@ -126,9 +126,6 @@ def load_yolo_annotations( image_paths = list_files_with_extensions( directory=images_directory_path, extensions=["jpg", "jpeg", "png"] ) - annotation_paths = list_files_with_extensions( - directory=annotations_directory_path, extensions=["txt"] - ) classes = _extract_class_names(file_path=data_yaml_path) images = {}