Skip to content

Commit a103707

Browse files
haraschaxsshane
authored andcommitted
Improved lead model: 6be443f2-ed70-4580-9c31-61b94d068e24/950
* 6be443f2-ed70-4580-9c31-61b94d068e24/950 * meta changed too * new ref * new ref from CI * unused * Revert "new ref from CI" This reverts commit 28b6bdc. * new ref from CI again updated releases
1 parent ff171c6 commit a103707

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

SA_RELEASES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Stock Additions Update 1 - 2021-09-30 (0.8.10)
22
===
3-
* Update SA to 0.8.10 (not yet including new model)
3+
* Update SA to 0.8.10 with cherry-picked improved lead model
44

55
Stock Additions Update 2 - 2021-08-15 (0.8.9)
66
===

models/supercombo.dlc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:1c53859f4d15a172811e0af815f192c272072005366c1cb9d05b819f19a6c48d
3-
size 56720671
2+
oid sha256:9e2d3a3b513bf3d0ea4255fc41d57e84b141643fd3d47268c33862110387ea05
3+
size 56685051

models/supercombo.onnx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:69c1f8f71fd815c9d30361b99b1dfd39df5460176c628c038d3f7d91e4801704
3-
size 56742706
2+
oid sha256:43d362484b134fce8d05ff0cb0971c53ceee64d96a4d97c1b6d19cc849f40588
3+
size 56707084

selfdrive/modeld/models/driving.cc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,17 @@
1313
#include "selfdrive/common/timing.h"
1414

1515
constexpr int DESIRE_PRED_SIZE = 32;
16-
constexpr int OTHER_META_SIZE = 32;
16+
constexpr int OTHER_META_SIZE = 48;
1717
constexpr int NUM_META_INTERVALS = 5;
18-
constexpr int META_STRIDE = 6;
18+
constexpr int META_STRIDE = 7;
1919

2020
constexpr int PLAN_MHP_N = 5;
2121
constexpr int PLAN_MHP_COLUMNS = 15;
2222
constexpr int PLAN_MHP_VALS = 15*33;
2323
constexpr int PLAN_MHP_SELECTION = 1;
2424
constexpr int PLAN_MHP_GROUP_SIZE = (2*PLAN_MHP_VALS + PLAN_MHP_SELECTION);
2525

26-
constexpr int LEAD_MHP_N = 5;
26+
constexpr int LEAD_MHP_N = 2;
2727
constexpr int LEAD_TRAJ_LEN = 6;
2828
constexpr int LEAD_PRED_DIM = 4;
2929
constexpr int LEAD_MHP_VALS = LEAD_PRED_DIM*LEAD_TRAJ_LEN;
@@ -207,6 +207,7 @@ void fill_meta(cereal::ModelDataV2::MetaData::Builder meta, const float *meta_da
207207
fill_sigmoid(&meta_data[DESIRE_LEN+4], brake_3ms2_sigmoid, NUM_META_INTERVALS, META_STRIDE);
208208
fill_sigmoid(&meta_data[DESIRE_LEN+5], brake_4ms2_sigmoid, NUM_META_INTERVALS, META_STRIDE);
209209
fill_sigmoid(&meta_data[DESIRE_LEN+6], brake_5ms2_sigmoid, NUM_META_INTERVALS, META_STRIDE);
210+
//fill_sigmoid(&meta_data[DESIRE_LEN+7], GAS PRESSED, NUM_META_INTERVALS, META_STRIDE);
210211

211212
std::memmove(prev_brake_5ms2_probs, &prev_brake_5ms2_probs[1], 4*sizeof(float));
212213
std::memmove(prev_brake_3ms2_probs, &prev_brake_3ms2_probs[1], 2*sizeof(float));

selfdrive/test/process_replay/model_ref_commit

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
a6a2358fe21ee43f10ed26100eb2f0811b877670
1+
0bda0bfb1196caaa5ba8ec52e689a250077c5bab

0 commit comments

Comments
 (0)