Skip to content

Commit 1771524

Browse files
committed
Parsing optimization and note
1 parent fe8fc0e commit 1771524

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

luxonis_ml/data/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -638,6 +638,9 @@ After initializing the parser, you can parse the dataset to create a `LuxonisDat
638638
dataset = parser.parse()
639639
```
640640

641+
> [!NOTE]
642+
> The dataset parsers do not follow symbolic links. Datasets that rely on symlinks may not be parsed correctly.
643+
641644
### LuxonisParser CLI
642645

643646
The parser can be invoked using the `luxonis_ml data parse` command.

luxonis_ml/data/datasets/annotation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ def validate_files(cls, values: dict[str, Any]) -> dict[str, Any]:
564564
if "files" in values:
565565
files_dict = values["files"]
566566
values["files"] = {
567-
k: Path(v).resolve() for k, v in files_dict.items()
567+
k: Path(v).absolute() for k, v in files_dict.items()
568568
}
569569
return values
570570

0 commit comments

Comments
 (0)