From b939236170e48c9ea11c01d0b0c587fe1867d701 Mon Sep 17 00:00:00 2001 From: Hongbo <12580159+ya0guang@users.noreply.github.com> Date: Fri, 1 Mar 2024 06:32:29 -0500 Subject: [PATCH] Correct the output dir in dataloaders.py (#12771) Correct the output dir in dataloaders.py Signed-off-by: Hongbo <12580159+ya0guang@users.noreply.github.com> --- utils/dataloaders.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/dataloaders.py b/utils/dataloaders.py index 55f8a0ce3513..04420c77a673 100644 --- a/utils/dataloaders.py +++ b/utils/dataloaders.py @@ -1085,7 +1085,7 @@ def extract_boxes(path=DATASETS_DIR / "coco128"): for j, x in enumerate(lb): c = int(x[0]) # class - f = (path / "classifier") / f"{c}" / f"{path.stem}_{im_file.stem}_{j}.jpg" # new filename + f = (path / "classification") / f"{c}" / f"{path.stem}_{im_file.stem}_{j}.jpg" # new filename if not f.parent.is_dir(): f.parent.mkdir(parents=True)