From 8a4b3659a04ed679d4d44cb48267eba4dfd172d1 Mon Sep 17 00:00:00 2001 From: Jason Wen Date: Sun, 16 Mar 2025 15:47:08 -0400 Subject: [PATCH] oops --- sunnypilot/selfdrive/car/interfaces.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sunnypilot/selfdrive/car/interfaces.py b/sunnypilot/selfdrive/car/interfaces.py index ad51348955..a3186162eb 100644 --- a/sunnypilot/selfdrive/car/interfaces.py +++ b/sunnypilot/selfdrive/car/interfaces.py @@ -40,8 +40,7 @@ def initialize_neural_network_lateral_control(CP: structs.CarParams, CP_SP: stru if CP_SP.neuralNetworkLateralControl.enabled: CarInterfaceBase.configure_torque_tune(CP.carFingerprint, CP.lateralTuning) - CP_SP.neuralNetworkLateralControl.modelPath = os.path.splitext(os.path.basename(nnlc_model_path))[0] - print("=========================NNLC_MODEL_PATH=========================: ", CP_SP.neuralNetworkLateralControl.modelPath) + CP_SP.neuralNetworkLateralControl.modelPath = nnlc_model_path CP_SP.neuralNetworkLateralControl.modelName = nnlc_model_name CP_SP.neuralNetworkLateralControl.fuzzyFingerprint = fuzzy_fingerprint