Skip to content

Commit 436851b

Browse files
committed
Adjust temperature parameter in softmax function for more aggressive driving behavior
1 parent 8947fca commit 436851b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/HL/Autotech_constant.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@
3131
ANGLE_LOOKUP = np.linspace(-MAX_ANGLE, MAX_ANGLE, 16)
3232
SPEED_LOOKUP = np.linspace(MIN_SOFT_SPEED, MAX_SOFT_SPEED, 16)
3333

34-
Temperature = 1.5 # Temperature parameter for softmax function, used to control the sharpness of the distribution resols around 1
34+
Temperature = 0.75 # Temperature parameter for softmax function, used to control the sharpness of the distribution resols around 1
3535
# the higher the temperature the more unprobalbe actions become probable, the lower the temperature the more probable actions become probable.
3636
# In our case Higher temperature means less agressive driving and lower temperature means more aggressive driving.

0 commit comments

Comments
 (0)