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

LogWrapper should indicate missing data until first episode terminates #62

Open
EmptyJackson opened this issue Aug 12, 2023 · 0 comments

Comments

@EmptyJackson
Copy link

In the LogWrapper initialization, both returned_episode_returns and returned_episode_lengths are set to 0.

Since 0 is a valid return for many environments, is it impossible (in isolation) to tell apart an initial return of 0 and a non-terminated first episode.

In order to indicate missing data before the first episode terminates, these should be set to NaN (or None).

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

1 participant