Skip to content

Commit

Permalink
NN Archive - v1.1 (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
kozlov721 authored Oct 3, 2024
1 parent a283ea1 commit 2aaeb52
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion luxonis_train/core/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,7 @@ def _mult(lst: list[float | int]) -> list[float]:
}

cfg_dict = {
"config_version": CONFIG_VERSION.__args__[0], # type: ignore
"config_version": CONFIG_VERSION.__args__[-1], # type: ignore
"model": model,
}

Expand Down
9 changes: 8 additions & 1 deletion tests/integration/parking_lot.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"config_version": "1.0",
"config_version": "1.1",
"model": {
"metadata": {
"name": "parking_lot_model",
Expand Down Expand Up @@ -158,6 +158,7 @@
],
"heads": [
{
"name": "bbox-head",
"parser": "YOLO",
"metadata": {
"postprocessor_path": null,
Expand All @@ -179,6 +180,7 @@
]
},
{
"name": "car-detection-head",
"parser": "YoloDetectionNetwork",
"metadata": {
"postprocessor_path": null,
Expand All @@ -197,6 +199,7 @@
]
},
{
"name": "motorbike-detection-head",
"parser": "YoloDetectionNetwork",
"metadata": {
"postprocessor_path": null,
Expand All @@ -217,6 +220,7 @@
]
},
{
"name": "color-segmentation-head",
"parser": "SegmentationParser",
"metadata": {
"postprocessor_path": null,
Expand All @@ -234,6 +238,7 @@
]
},
{
"name": "any-vehicle-segmentation-head",
"parser": "SegmentationParser",
"metadata": {
"postprocessor_path": null,
Expand All @@ -248,6 +253,7 @@
]
},
{
"name": "brand-segmentation-head",
"parser": "SegmentationParser",
"metadata": {
"postprocessor_path": null,
Expand Down Expand Up @@ -284,6 +290,7 @@
]
},
{
"name": "vehicle-type-segmentation-head",
"parser": "SegmentationParser",
"metadata": {
"postprocessor_path": null,
Expand Down

0 comments on commit 2aaeb52

Please sign in to comment.