Add package name to YOLO checks errors (#16770)
Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
This commit is contained in:
parent
5dcaa0aa06
commit
28eb65694c
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue