Add package name to YOLO checks errors (#16770)

Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
This commit is contained in:
Glenn Jocher 2024-10-08 15:18:04 +02:00 committed by GitHub
parent 5dcaa0aa06
commit 28eb65694c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -685,7 +685,7 @@ def create_synthetic_coco_dataset():
# Read image filenames from label list file
label_list_file = dir / f"{subset}.txt"
if label_list_file.exists():
with open(label_list_file, "r") as f:
with open(label_list_file) as f:
image_files = [dir / line.strip() for line in f]
# Submit all tasks