We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8740a92 commit d9599a4Copy full SHA for d9599a4
luxonis_ml/data/exporters/prepared_ldf.py
@@ -3,6 +3,8 @@
3
4
import polars as pl
5
6
+from luxonis_ml.data import LuxonisDataset
7
+
8
9
class PreparedLDF:
10
"""Lightweight container for LDF data, ready for export."""
@@ -18,7 +20,7 @@ def __init__(
18
20
self.grouped_image_sources = grouped_image_sources
19
21
22
@classmethod
- def from_dataset(cls, ldf: "LuxonisDataset") -> "PreparedLDF":
23
+ def from_dataset(cls, ldf: LuxonisDataset) -> "PreparedLDF":
24
"""Prepare a dataset for export into the LDF representation."""
25
splits = ldf.get_splits()
26
if splits is None:
0 commit comments