dmonitoringmodeld: clean up data structures (#36624)

* update onnx

* get meta

* start

* cast

* deprecate notready

* more

* line too long

* 2
This commit is contained in:
ZwX1616
2025-11-14 14:29:04 -08:00
committed by GitHub
parent a1795f80dd
commit b778da1d7c
7 changed files with 59 additions and 87 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ def make_msg(face_detected, distracted=False, model_uncertain=False):
ds.leftDriverData.faceOrientationStd = [1.*model_uncertain, 1.*model_uncertain, 1.*model_uncertain]
ds.leftDriverData.facePositionStd = [1.*model_uncertain, 1.*model_uncertain]
# TODO: test both separately when e2e is used
ds.leftDriverData.notReadyProb = [0., 0.]
ds.leftDriverData.phoneProb = 0.
return ds