Skip to content

Commit

Permalink
Also tune the fragment length.
Browse files Browse the repository at this point in the history
  • Loading branch information
ernestum committed Jan 8, 2024
1 parent 45248e6 commit f5b2c12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/imitation/scripts/config/tuning.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ def pc():
"active_selection_oversampling": tune.randint(1, 11),
"comparison_queue_size": tune.randint(1, 1001), # upper bound determined by total_comparisons=1000
"exploration_frac": tune.uniform(0.0, 0.5),
"fragment_length": 100, # TODO: tune this too!
"fragment_length": tune.randint(1, 1001), # trajectories are 1000 steps long
"gatherer_kwargs": {
"temperature": tune.uniform(0.0, 2.0),
"discount_factor": tune.uniform(0.95, 1.0),
Expand Down

0 comments on commit f5b2c12

Please sign in to comment.