Skip to content

Commit

Permalink
fixed hyperparam
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbinschmid committed Feb 7, 2024
1 parent 6987530 commit ef0ceac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions agents/C_trajectory_following.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
###### ENVIRONMENT PARAMS ##########
TIMESTEPS = 2.5e6
N_ENVS = 20
EPISODE_LEN_SEC = 30
EPISODE_LEN_SEC = 10
####################################

###### HYPERPARAMS #################
Expand All @@ -44,7 +44,7 @@
K_WP = 20
K_S = 0.05
MAX_REWARD_DISTANCE = 0.03
WAYPOINT_DIST_TOL = 0.3
WAYPOINT_DIST_TOL = 0.12
####################################


Expand Down Expand Up @@ -87,7 +87,7 @@ def run(output_folder=OUTPUT_FOLDER,
t_traj, init_wp = init_targets()

# random number in range 10-99
if train:
if train or test:
output_folder = f"{output_folder}/k_p={k_p}_k_wp={k_wp}_k_s={k_s}_max_reward_distance={max_reward_distance}_waypoint_dist_tol={waypoint_dist_tol}"
print(f"Output folder: {output_folder}")

Expand Down

0 comments on commit ef0ceac

Please sign in to comment.