Skip to content

Commit

Permalink
removed portions from wrong branch
Browse files Browse the repository at this point in the history
  • Loading branch information
beardyFace committed Oct 11, 2023
1 parent e488c57 commit 8618e92
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions example/example_training_loops.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,17 +64,14 @@ def main():

seed = args['seed']

glob_log_dir = f'{Path.home()}/cares_rl_logs/'
log_dir = f"{algoritm}-{task}-{datetime.now().strftime('%y_%m_%d_%H:%M:%S')}"

training_iterations = args['number_training_iterations']
for training_iteration in range(0, training_iterations):
logging.info(f"Training iteration {training_iteration+1}/{training_iterations} with Seed: {seed}")
set_seed(seed)
env.set_seed(seed)

#create the record class - standardised results tracking
record = Record(glob_log_dir=glob_log_dir, network=agent, config={'args': args})
record = Record(network=agent, config={'args': args})

# Train the policy or value based approach
if args["algorithm"] == "PPO":
Expand Down

0 comments on commit 8618e92

Please sign in to comment.