feat(observatory): add portable calculation profiles

This commit is contained in:
DCCONSTRUCTIONS
2026-08-31 15:42:56 +03:00
parent d1b75efcea
commit 9beb534108
75 changed files with 24419 additions and 348 deletions
@@ -4,8 +4,8 @@
{
"setup_id": "lab-v1-eomt-ddrnet-portable-v1",
"definition_id": "lab-v1-eomt-ddrnet-portable",
"version": 1,
"definition_sha256": "57bf8f0859e10e54e30322c9a8aa28b427699f6fe6b5267e279ec3390fa78466",
"version": 2,
"definition_sha256": "3692d41cec3949f348a36eb60a501fb2cd483fed1645679b0ec58061a2fc6dc2",
"source_requirements": {
"plugin_id": "nodedc.device.xgrids-lixelkity-k1",
"archive_id": "xgrids-k1.viewer-live.evidence",
@@ -32,9 +32,9 @@
},
"components": [
{
"component_id": "ddrnet-full-route-runtime-config-v1",
"component_id": "ddrnet-portable-runtime-config-v2",
"kind": "configuration",
"sha256": "ec7464c2818a707c79aadaa6494625b76d45fb4fe59b74b5208ff9bbd7c9006a"
"sha256": "c0ff657dadc86607d77d232e84d041fbf2d8b63e86d02319e9cd607220d00f21"
},
{
"component_id": "eomt-recorded-dependency-set-v1",
@@ -145,8 +145,85 @@
"release_id": null,
"release_sha256": null,
"image_sha256": null,
"reason_code": "eomt-executor-release-unsealed",
"reason": "Immutable EoMT plus DDRNet executor release and image are not sealed or installed on Worker 006."
"reason_code": "lab-v1-portable-v2-uninstalled",
"reason": "Portable LAB V1 v2 is not sealed or installed; a commit-bound combined image and Worker 006 receipt are required."
},
"authority": {
"commands_enabled": false,
"actuation_allowed": false,
"navigation_or_safety_accepted": false,
"production_accepted": false
}
},
{
"setup_id": "m49-tgs-portable-v2",
"definition_id": "m49-tgs-portable",
"version": 2,
"definition_sha256": "73611f24d70319ea1edca428726d6538a3cbad012a415cc0c1a7ecb7d9b4d910",
"source_requirements": {
"plugin_id": "nodedc.device.xgrids-lixelkity-k1",
"archive_id": "xgrids-k1.viewer-live.evidence",
"required_modalities": [
"point-cloud",
"trajectory",
"video"
],
"camera_source_id": "sensor.camera.right",
"camera_semantic_channel_id": "camera.video.recorded",
"recorded_media_type": "video/mp4; codecs=\"avc1.641028\"",
"recorded_media_init_sha256": "e2279963e16d84c91d68e7dbb1f7efed840533387dfeb844b7398bff45fbde38",
"camera_width": 800,
"camera_height": 600,
"calibration_slot": "camera_1",
"calibration_identity_sha256": "05f3ad9b38b3a4fc95388a8ec83da83c745e217709e51787b3d5aad0969f6fa9",
"exactly_one_media_epoch": true,
"seekable": true
},
"source_adapter": {
"adapter_id": "xgrids-k1-recorded-observatory-v2",
"version": 2,
"contract_sha256": "4e12be6d2503e2e237eddb290b28d6a7d16cf983855b6d8e6b4e3b65d2feb0de"
},
"components": [
{
"component_id": "k1-camera-1-calibration-v1",
"kind": "calibration",
"sha256": "05f3ad9b38b3a4fc95388a8ec83da83c745e217709e51787b3d5aad0969f6fa9"
},
{
"component_id": "m49-tgs-portable-profile-v2",
"kind": "configuration",
"sha256": "6128d6af7e6137f9a9473db045e3b155e2105319159f17c32f344b4aedf823a9"
}
],
"models": [],
"resource_profile": {
"schema_version": "missioncore.observatory-portable-resource-profile/v2",
"profile_id": "worker006-cpu-single-run-portable-v2",
"contour_id": "worker-006",
"accelerator_id": "cpu-only",
"concurrency": 1,
"checkpoint_policy": "non-checkpointable",
"allowed_checkpoints": [],
"profile_sha256": "49e373f1cbf314e7fab2d176db295f3d3d9ddbbcbd724bbde988ef60ad767dee"
},
"result_contract": {
"schema_version": "missioncore.observatory-portable-result-contract/v2",
"contract_id": "m49-tgs-portable-review-v2",
"version": 2,
"result_schema": "missioncore.recorded-tgs-costmap-review/v2",
"result_kind": "recorded-perception-qualification",
"publication": "observatory",
"contract_sha256": "9dd80c8e2504559d2156fca933de6eb27901e35305e6853aeb84707e1cb13892"
},
"executor": {
"contour_id": "worker-006",
"state": "not-installed",
"release_id": null,
"release_sha256": null,
"image_sha256": null,
"reason_code": "m49-portable-executor-not-installed",
"reason": "A source-independent M4.9 TGS executor release and image are not sealed or installed on Worker 006."
},
"authority": {
"commands_enabled": false,
@@ -0,0 +1,292 @@
{
"schema_version": "missioncore.observatory-portable-worker-runtime-registry/v1",
"candidates": [
{
"schema_version": "missioncore.observatory-portable-worker-runtime-candidate/v1",
"adapter_id": "lab-v1-eomt-ddrnet-worker006-v2",
"setup_id": "lab-v1-eomt-ddrnet-portable-v1",
"definition_id": "lab-v1-eomt-ddrnet-portable",
"definition_version": 2,
"definition_sha256": "3692d41cec3949f348a36eb60a501fb2cd483fed1645679b0ec58061a2fc6dc2",
"source_adapter_sha256": "4e12be6d2503e2e237eddb290b28d6a7d16cf983855b6d8e6b4e3b65d2feb0de",
"model_manifest_sha256": "3fd2d43af73bd73f89d9ffae95d8770cfdeb46033ec967509124fac6ae4afe56",
"resource_profile_sha256": "7468138cad115210eda18e7a3350e3423d3d39ac0aae650b3266cdc2bc63fd5d",
"result_contract_sha256": "b3dfaa8e20a0f22fc510d062ac469f010a3281c650059d9ea134f0b3ccb38d9a",
"state": "blocked",
"executor": null,
"reusable_assets": [
{
"asset_id": "ddrnet-checkpoint",
"kind": "model-artifact",
"sha256": "b99c2838051bcd7b092fd3970aa62a77d5c0bbb809c9b9afb2ff4b0ebdaa4ee6",
"byte_length": 259419077,
"component_id": null,
"model_release_id": "lab-v1-ddrnet-39-goose-fine-64-v1",
"model_artifact_role": "checkpoint"
},
{
"asset_id": "ddrnet-goose-image",
"kind": "container-image",
"sha256": "591cb382c099eeb05e7ec16e2371e0b2da54d2bb5c49ec0f4ac88dbf72b0f0cd",
"byte_length": null,
"component_id": null,
"model_release_id": null,
"model_artifact_role": null
},
{
"asset_id": "ddrnet-goose-runner",
"kind": "local-file",
"sha256": "b18ad60f277eea69a240a28f290611b94627fb9707faf1bb3e6e22102dad67c1",
"byte_length": 32877,
"component_id": null,
"model_release_id": null,
"model_artifact_role": null
},
{
"asset_id": "ddrnet-portable-config",
"kind": "definition-component",
"sha256": "c0ff657dadc86607d77d232e84d041fbf2d8b63e86d02319e9cd607220d00f21",
"byte_length": 4324,
"component_id": "ddrnet-portable-runtime-config-v2",
"model_release_id": null,
"model_artifact_role": null
},
{
"asset_id": "eomt-config-json",
"kind": "model-artifact",
"sha256": "7f4aa94fa4e43c0dbd79a5420edb511120aef62bd82bfbcbcece79948286a650",
"byte_length": 1575,
"component_id": null,
"model_release_id": "eomt-cityscapes-large-1024-v1",
"model_artifact_role": "config-json"
},
{
"asset_id": "eomt-image",
"kind": "container-image",
"sha256": "58df7489c3f2276f9591d500a012dee03e23d35543ce3c390b4c001e6bf90794",
"byte_length": null,
"component_id": null,
"model_release_id": null,
"model_artifact_role": null
},
{
"asset_id": "eomt-model-weights",
"kind": "model-artifact",
"sha256": "c265da9a74f58f5c3f4826d23ca4ca78beac0b106cca5842beca61580de5b782",
"byte_length": 1276175488,
"component_id": null,
"model_release_id": "eomt-cityscapes-large-1024-v1",
"model_artifact_role": "model-weights"
},
{
"asset_id": "eomt-orchestrator",
"kind": "definition-component",
"sha256": "d3e9435939444ab35b27a744ac314e289ebd66a13fa56e3d59f121e088d22774",
"byte_length": 21489,
"component_id": "eomt-recorded-orchestrator-v1",
"model_release_id": null,
"model_artifact_role": null
},
{
"asset_id": "eomt-preprocessor-config",
"kind": "model-artifact",
"sha256": "97e2fbf7f0bdba2cfc90251c5133bae9c27ddc9c4410509f40670be2332854e7",
"byte_length": 666,
"component_id": null,
"model_release_id": "eomt-cityscapes-large-1024-v1",
"model_artifact_role": "preprocessor-config"
},
{
"asset_id": "eomt-profile",
"kind": "definition-component",
"sha256": "ea583966bc3409f5cf563cbf4fad05e366907e67187082eb692aff53d9f5d875",
"byte_length": 3805,
"component_id": "eomt-recorded-profile-v1",
"model_release_id": null,
"model_artifact_role": null
},
{
"asset_id": "eomt-runner",
"kind": "definition-component",
"sha256": "651e8e06c3912dffb036b7fd08f2c0623f7563d8306cc7aee05db562798518f4",
"byte_length": 30720,
"component_id": "eomt-recorded-runner-v1",
"model_release_id": null,
"model_artifact_role": null
},
{
"asset_id": "vegetation-policy",
"kind": "definition-component",
"sha256": "b75c4ac841d7b4bcc57f7a9c8417ca2317d8ecfa499e72a9af8a8591a2ec0d35",
"byte_length": 3022,
"component_id": "vegetation-mission-policy-v1",
"model_release_id": null,
"model_artifact_role": null
},
{
"asset_id": "vegetation-provider-map",
"kind": "definition-component",
"sha256": "f2b69046b6a740fd9532d2d88e7fabae7c20fb662f783c9502adc9026406f352",
"byte_length": 2756,
"component_id": "vegetation-provider-label-map-v1",
"model_release_id": null,
"model_artifact_role": null
}
],
"phases": [
{
"phase_id": "source-delivery",
"state": "implemented"
},
{
"phase_id": "eomt-runtime",
"state": "implemented"
},
{
"phase_id": "ddrnet-portable-runtime",
"state": "missing"
},
{
"phase_id": "portable-lab-orchestrator",
"state": "implemented"
},
{
"phase_id": "result-v2-assembler",
"state": "implemented"
},
{
"phase_id": "observatory-result-publisher",
"state": "implemented"
}
],
"blockers": [
"combined-executor-image-unsealed",
"commit-bound-source-unavailable",
"ddrnet-component-port-uninstalled",
"eomt-component-port-uninstalled",
"executor-release-unsealed",
"fixture-smoke-unaccepted",
"worker-installation-receipt-unavailable"
],
"authority": {
"commands_enabled": false,
"actuation_allowed": false,
"navigation_or_safety_accepted": false,
"production_accepted": false
},
"candidate_sha256": "b22b8fa16cca6dd68cf1ee68abeea84b33f4c420bb3844931b4dc7fd19434a81"
},
{
"schema_version": "missioncore.observatory-portable-worker-runtime-candidate/v1",
"adapter_id": "m49-tgs-worker006-portable-v2",
"setup_id": "m49-tgs-portable-v2",
"definition_id": "m49-tgs-portable",
"definition_version": 2,
"definition_sha256": "73611f24d70319ea1edca428726d6538a3cbad012a415cc0c1a7ecb7d9b4d910",
"source_adapter_sha256": "4e12be6d2503e2e237eddb290b28d6a7d16cf983855b6d8e6b4e3b65d2feb0de",
"model_manifest_sha256": "489a43448f720a9b5c7993dc8279d167b77191a586f0d87b6d38b81cf728e2f1",
"resource_profile_sha256": "49e373f1cbf314e7fab2d176db295f3d3d9ddbbcbd724bbde988ef60ad767dee",
"result_contract_sha256": "9dd80c8e2504559d2156fca933de6eb27901e35305e6853aeb84707e1cb13892",
"state": "blocked",
"executor": null,
"reusable_assets": [
{
"asset_id": "m49-portable-profile",
"kind": "definition-component",
"sha256": "6128d6af7e6137f9a9473db045e3b155e2105319159f17c32f344b4aedf823a9",
"byte_length": 1683,
"component_id": "m49-tgs-portable-profile-v2",
"model_release_id": null,
"model_artifact_role": null
},
{
"asset_id": "m49-portable-runner-manifest",
"kind": "local-file",
"sha256": "264c79258195c91448cadad2fff68fdee067c539cccdf1227657a4417ed4cc85",
"byte_length": 1825,
"component_id": null,
"model_release_id": null,
"model_artifact_role": null
},
{
"asset_id": "m49-portable-runner-source",
"kind": "local-file",
"sha256": "52813392aabd02efc5c2b8f7c22ed88e3ef4cc8ad3aafeba2792efe503e29fe9",
"byte_length": 11052,
"component_id": null,
"model_release_id": null,
"model_artifact_role": null
},
{
"asset_id": "m49-portable-runner-wrapper",
"kind": "local-file",
"sha256": "2d6c32560682647f868e4ce4c2605749f17c60482a609f8c03ff951411f48ffb",
"byte_length": 858,
"component_id": null,
"model_release_id": null,
"model_artifact_role": null
},
{
"asset_id": "m49-portable-smoke",
"kind": "local-file",
"sha256": "e5da73c2cf89ed0671de8ac52e13014a7faf79ce1ff1f97a090154063a61c18d",
"byte_length": 1117,
"component_id": null,
"model_release_id": null,
"model_artifact_role": null
},
{
"asset_id": "travel-tgs-image",
"kind": "container-image",
"sha256": "7b412020f4d8392d1d1ed1b33beadc44140f0ea8f781e62dd69796042334300f",
"byte_length": null,
"component_id": null,
"model_release_id": null,
"model_artifact_role": null
}
],
"phases": [
{
"phase_id": "source-delivery",
"state": "missing"
},
{
"phase_id": "camera-lidar-timeline-materializer",
"state": "missing"
},
{
"phase_id": "portable-tgs-input-materializer",
"state": "missing"
},
{
"phase_id": "portable-tgs-runner",
"state": "implemented"
},
{
"phase_id": "result-v2-assembler",
"state": "missing"
},
{
"phase_id": "observatory-result-publisher",
"state": "missing"
}
],
"blockers": [
"executor-release-unsealed",
"portable-camera-lidar-timeline-unimplemented",
"portable-result-assembler-unimplemented",
"portable-source-delivery-unimplemented",
"portable-tgs-input-unimplemented",
"portable-tgs-runner-unsealed",
"result-publisher-integration-unaccepted"
],
"authority": {
"commands_enabled": false,
"actuation_allowed": false,
"navigation_or_safety_accepted": false,
"production_accepted": false
},
"candidate_sha256": "e2085c25e45a46de58f693d1128914dc25febbe18a28341cdf57c79f3472f180"
}
]
}
@@ -0,0 +1,162 @@
{
"schema_version": "missioncore.lab-v1-eomt-ddrnet-portable-profile/v2",
"profile_id": "lab-v1-eomt-ddrnet-portable-v2",
"lab_id": "LAB-V1",
"worker_id": "worker-006",
"source_binding": {
"mode": "admitted-k1-recording",
"camera_source_id": "sensor.camera.right",
"camera_timeline": "dynamic",
"filesystem_paths": "executor-resolved",
"expected_width": 800,
"expected_height": 600,
"expected_frame_count": "source-derived",
"frame_indices": "source-derived-representative",
"crop_contract": "center-600-square-to-512; outside-crop-is-undefined"
},
"effective_config_contract": {
"schema_version": "missioncore.lab-v1-goose-vegetation-benchmark/v1",
"dynamic_field": "ravnoves",
"source_id": "sealed-source-derived",
"source_sha256": "sealed-camera-input-derived",
"base_m4_result_id": null
},
"runtime": {
"super_gradients_version": "3.2.0",
"super_gradients_revision": "54d062ecb1081944a672ce447cf3e96a36708ff9",
"python_version": "3.9",
"numpy_version": "1.23.0",
"cmake_version": "3.31.6",
"onnxsim_version": "0.4.36",
"opencv_python_version": "4.8.1.78",
"pytorch_version": "1.13.1",
"torchvision_version": "0.14.1",
"pytorch_cuda_version": "11.7",
"container_base": "nvidia/cuda:12.8.1-cudnn-devel-ubuntu22.04@sha256:ad6d59a3bbf3e82c1c849c9ac09cfc2a3e0bbb8655042fd899be6681b3fe2a85",
"miniconda_installer": "Miniconda3-py39_24.11.1-0-Linux-x86_64.sh",
"miniconda_installer_sha256": "3ea8373098d72140e08aac9217822b047ec094eb457e7f73945af7c6f68bf6f5"
},
"dataset": {
"dataset_id": "goose-2d-validation-visible-rgb",
"relative_root": "goose-2d/validation",
"mapping_relative_path": "goose_label_mapping.csv",
"mapping_sha256": "88ae319ba5a3877dd3ae0773f693a6a5fdc283934140de9dfaff029108aefd7f",
"image_glob": "images/val/**/*_windshield_vis.png",
"expected_pair_count": 962,
"input_size": [
512,
512
],
"preprocessing": [
"center-square-crop",
"nearest-neighbor-resize",
"rgb-to-tensor-0-1"
]
},
"candidates": {
"ddrnet": {
"candidate_id": "goose-ddrnet-class-512",
"model_names": [
"ddrnet_39"
],
"checkpoint_relative_path": "models/goose/ddrnet_class_512.pth",
"checkpoint_size_bytes": 259419077,
"checkpoint_sha256": "b99c2838051bcd7b092fd3970aa62a77d5c0bbb809c9b9afb2ff4b0ebdaa4ee6",
"published_validation_miou_percent": 46.53
}
},
"vegetation_class_names": [
"leaves",
"forest",
"bush",
"moss",
"tree_crown",
"tree_trunk",
"crops",
"low_grass",
"high_grass",
"scenery_vegetation",
"hedge",
"tree_root"
],
"visual_case_contract": {
"selection_basis": "ground-truth-class-support-only",
"case_count": 12,
"minimum_focus_pixels": 2048,
"strata": [
{
"class_name": "high_grass",
"count": 2
},
{
"class_name": "low_grass",
"count": 2
},
{
"class_name": "bush",
"count": 2
},
{
"class_name": "tree_trunk",
"count": 2
},
{
"class_name": "tree_crown",
"count": 1
},
{
"class_name": "hedge",
"count": 1
},
{
"class_name": "forest",
"count": 1
},
{
"class_name": "crops",
"count": 1
}
],
"error_overlay": {
"correct_material_rgba": [
34,
197,
94,
72
],
"missed_vegetation_rgba": [
239,
68,
68,
220
],
"false_vegetation_rgba": [
245,
158,
11,
220
],
"wrong_vegetation_material_rgba": [
168,
85,
247,
220
]
}
},
"policy_action_colors": {
"ALLOW": "#22c55e",
"HIGH_COST": "#f59e0b",
"NO_GO": "#ef4444"
},
"invariants": {
"one_heavy_candidate_at_a_time": true,
"raw_fisheye_is_immutable": true,
"outside_center_crop_is_free": false,
"missing_or_unknown_is_free": false,
"camera_semantics_can_clear_rigid_geometry": false,
"navigation_authority": false,
"actuation_authority": false,
"canonical_triton_mutation_allowed": false
}
}
@@ -0,0 +1,60 @@
{
"schema_version": "missioncore.m49-tgs-portable-profile/v2",
"profile_id": "m49-tgs-portable-v2",
"source_binding": {
"mode": "admitted-k1-recording",
"camera_timeline": "dynamic",
"lidar_replay": "dynamic",
"trajectory": "dynamic",
"frame_counts": "source-derived",
"filesystem_paths": "executor-resolved"
},
"alignment": {
"timeline": "recorded-camera-host-arrival",
"lidar_selection": "latest-not-newer-than-camera-frame",
"maximum_lidar_age_seconds": 1.0,
"future_frames_allowed": false
},
"tgs": {
"max_range_m": 80.0,
"min_range_m": 1.0,
"resolution_m": 8.0,
"num_iterations": 3,
"num_lowest_representative_points": 5,
"minimum_points": 10,
"seed_threshold_m": 0.5,
"distance_threshold_m": 0.125,
"outlier_threshold_m": 0.3,
"normal_threshold": 0.94,
"weight_threshold": 200.0,
"lcc_normal_similarity": 0.03,
"lcc_planar_distance_m": 0.1,
"obstacle_height_m": 1.0,
"refine_mode": true
},
"rolling_profile": {
"history_seconds": 1.0,
"local_radius_m": 12.0,
"missing_lidar_policy": "all-cells-unobserved"
},
"costmap": {
"coordinate_frame": "map-gravity-local",
"cell_size_m": 0.45,
"radius_m": 12.0,
"state_priority": [
"NONGROUND_OCCUPIED",
"UNKNOWN_REJECTED",
"GROUND_SUPPORT",
"UNOBSERVED"
]
},
"invariants": {
"aos_allowed": false,
"gpu_allowed": false,
"missing_support_means_free": false,
"missing_lidar_means_unobserved": true,
"unobserved_cells_are_emitted": true,
"camera_projection_is_authoritative": false,
"navigation_or_actuation_allowed": false
}
}