Skip to content

Commit dda0426

Browse files
committed
Merge branch 'dev' of github.com:luxonis/luxonis-ml into dev
2 parents 06345f1 + 3693214 commit dda0426

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

luxonis_ml/nn_archive/config_building_blocks/base_models/head.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ class Head(BaseModel, ABC):
3131
description="Name of the parser responsible for processing the models output."
3232
)
3333
metadata: Union[
34-
HeadMetadata,
3534
HeadObjectDetectionMetadata,
3635
HeadClassificationMetadata,
3736
HeadObjectDetectionSSDMetadata,
3837
HeadSegmentationMetadata,
3938
HeadYOLOMetadata,
39+
HeadMetadata,
4040
] = Field(description="Metadata of the parser.")
4141
outputs: Optional[List[str]] = Field(
4242
None,

luxonis_ml/nn_archive/config_building_blocks/base_models/head_metadata.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,7 @@ def validate_task_specific_fields(
202202
defined_params = defined_params.difference(common_fields)
203203

204204
required_fields = {
205+
"object_detection": [],
205206
"instance_segmentation": [
206207
"n_prototypes",
207208
"is_softmax",

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "luxonis-ml"
3-
version = "0.2.2"
3+
version = "0.2.3"
44
description = "MLOps tools for training models for Luxonis devices"
55
readme = "README.md"
66
requires-python = ">=3.8"

0 commit comments

Comments
 (0)