Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Diagnostics/NewCompletedTrajs 0 on some iterations #185

Open
jordan-schneider opened this issue Aug 18, 2020 · 1 comment
Open

Diagnostics/NewCompletedTrajs 0 on some iterations #185

jordan-schneider opened this issue Aug 18, 2020 · 1 comment

Comments

@jordan-schneider
Copy link
Contributor

I'm using a SerialSampler with the default collector, and on some training iterations I'm getting 0 new completed trajectories along with 0 StepsInTrajWindow. Additionally, there simply isn't a DiscountedReturn line on the log during that iteration, along with all the other TrajInfo values.

Does anyone know what might cause this? I'm not getting any warnings or errors but I'm concerned I might be producing actions with nans in them.

I'm using the Hopper-v3 environment.

@astooke
Copy link
Owner

astooke commented Sep 5, 2020

Hmm, how long is your config["runner"]["log_interval_steps"] and how many environments are you using config["sampler"]["batch_B"]? If the first of those is small, and the second is large, it could simply be that none of the environment instances hit the end of their trajectory since the last logging event?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants