Skip to content

Commit

Permalink
increase episode length
Browse files Browse the repository at this point in the history
  • Loading branch information
PVirie committed Jan 15, 2025
1 parent 200076c commit f3b8f4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/rl_hopper.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def setup():
def train(context, parameter_path):

course = context.course
num_courses = 2
num_courses = 10

if course >= num_courses:
logging.info("Experiment already completed")
Expand Down Expand Up @@ -304,7 +304,7 @@ def prepare_data_tuples(states, actions, rewards, num_layers, skip_steps):
states = []
actions = []
rewards = []
for _ in range(250):
for _ in range(400):
if random.random() <= epsilon or course == 0:
selected_action = env.action_space.sample()
# quantize
Expand Down

0 comments on commit f3b8f4f

Please sign in to comment.