Skip to content

Commit 7d7d471

Browse files
committed
Append fix.
1 parent e03a956 commit 7d7d471

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

luxonis_ml/data/parsers/yolov8_parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ def from_dir(
203203
)
204204
if not yaml_file:
205205
raise ValueError("Exactly one yaml file is expected")
206-
classes_path = dataset_dir / yaml_file
206+
classes_path = dataset_dir / yaml_file.name
207207
dir_format, splits = self._detect_dataset_dir_format(dataset_dir)
208208
added_train_imgs = self._parse_split(
209209
image_dir=dataset_dir / "images" / "train"

0 commit comments

Comments
 (0)