Skip to content

the problem with the duration of training #25

Discussion options

You must be logged in to vote

Hello!

This is not really a timeout, this is the end (truncation) of an episode.

If you read the config.json file, you will find that a maximum of 1000 time steps per episode is defined there (you can change it if you like). You will also find that the time-step duration is set to 0.05 seconds by default (i.e., 20 FPS). The 1000 time-step limit multiplied by 0.05s is your 50s :)

This limit is there because the rollout worker waits until the end of the episode to send its gathered training samples to the server, so you don't want your episode to be infinitely long.

This is a design choice though, it is easy to adapt the code if people do want to play infinite episodes I believe.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@KonradMaciaga
Comment options

@yannbouteiller
Comment options

Answer selected by KonradMaciaga
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants