Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Number of time steps in one iteration of RLlib training

I am new to reinforcement learning and I am working on the RL of a custom environment in OpenAI gym with RLlib. When I create a custom environment, do I need to specify the number of episodes in the __init__() method? ALso, when I train the agent with

for _ in range(10):
     trainer.train()

how many time steps are taken in one iteration? is it equal to number of episodes defined in the custom environment? Thank you.

like image 515
user3443033 Avatar asked Nov 07 '22 07:11

user3443033


1 Answers

I think what you need to set for the max number of steps in one episode is the hyperparameter `horizon'

like image 67
vwaq Avatar answered Nov 15 '22 09:11

vwaq