Skip to content

Commit

Permalink
DM model with better noise performance (#21733)
Browse files Browse the repository at this point in the history
* smooth 3d4f

* update thresholds

* update ref commt

* update
  • Loading branch information
ZwX1616 authored Aug 5, 2021
1 parent d68b0bd commit 0066523
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions models/dmonitoring_model.onnx
Git LFS file not shown
4 changes: 2 additions & 2 deletions models/dmonitoring_model_q.dlc
Git LFS file not shown
6 changes: 3 additions & 3 deletions selfdrive/monitoring/driver_monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ def __init__(self, TICI=TICI, DT_DMON=DT_DMON):
self._PARTIAL_FACE_THRESHOLD = 0.75 if TICI else 0.5
self._EYE_THRESHOLD = 0.5
self._SG_THRESHOLD = 0.5
self._BLINK_THRESHOLD = 0.88 if TICI else 0.5
self._BLINK_THRESHOLD_SLACK = 0.98 if TICI else 0.65
self._BLINK_THRESHOLD_STRICT = 0.88 if TICI else 0.5
self._BLINK_THRESHOLD = 0.88 if TICI else 0.6
self._BLINK_THRESHOLD_SLACK = 0.98 if TICI else 0.78
self._BLINK_THRESHOLD_STRICT = 0.88 if TICI else 0.6
self._PITCH_WEIGHT = 1.175 if TICI else 1.35 # pitch matters a lot more
self._POSESTD_THRESHOLD = 0.318 if TICI else 0.14
self._E2E_POSE_THRESHOLD = 0.95 if TICI else 0.9
Expand Down
2 changes: 1 addition & 1 deletion selfdrive/test/process_replay/ref_commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
dd32c3e4f189e08e2bb20fcf3c0c16116077a959
1d005ab2b4f6747ec0cae5d1a5e251131df453e8

0 comments on commit 0066523

Please sign in to comment.