mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-09-29 08:33:41 +08:00
move it
This commit is contained in:
@@ -10,9 +10,6 @@ from difflib import SequenceMatcher
|
||||
from opendbc.car import structs
|
||||
from openpilot.common.basedir import BASEDIR
|
||||
|
||||
# dict used to rename activation functions whose names aren't valid python identifiers
|
||||
ACTIVATION_FUNCTION_NAMES = {'σ': 'sigmoid'}
|
||||
|
||||
TORQUE_NN_MODEL_PATH = os.path.join(BASEDIR, "sunnypilot", "neural_network_data", "neural_network_lateral_control")
|
||||
|
||||
|
||||
|
||||
@@ -7,7 +7,8 @@ See the LICENSE.md file in the root directory for more details.
|
||||
from json import load
|
||||
import numpy as np
|
||||
|
||||
from openpilot.sunnypilot.selfdrive.controls.lib.nnlc.helpers import ACTIVATION_FUNCTION_NAMES
|
||||
# dict used to rename activation functions whose names aren't valid python identifiers
|
||||
ACTIVATION_FUNCTION_NAMES = {'σ': 'sigmoid'}
|
||||
|
||||
|
||||
class NNTorqueModel:
|
||||
|
||||
Reference in New Issue
Block a user