8000 [Bug]: WandB last episode log in SB3 algorithms · Issue #431 · ugr-sail/sinergym · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[Bug]: WandB last episode log in SB3 algorithms #431

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

Closed
AlejandroCN7 opened this issue Sep 2, 2024 · 0 comments · Fixed by #438
Closed

[Bug]: WandB last episode log in SB3 algorithms #431

AlejandroCN7 opened this issue Sep 2, 2024 · 0 comments · Fixed by #438
Assignees
Labels
bug Something isn't working log New information that should be recordered

Comments

@AlejandroCN7
Copy link
Member

Bug 🐛

When we train with SB3 and use the WandB wrapper, the summary metrics record an almost empty last episode. This is because SB3 algorithms can perform some extra timesteps depending on the algorithm. The learn method of the model does not allow to specify number of episodes, only timesteps, so it is unavoidable.

This worsens the experience with the platform, since the summary tables it generates can only show the last result, maximum or minimum. Being the last result useless.

This only happens with WandBLogger, CSVLogger does not have this problem at the moment.

Expected behavior

It is expected that episodes outside of those specified will not be recorded in WandB. For example, if 100 episodes are specified, to log those 100 and ignore 101.

📝 Please, don't forget to include more labels besides bug if it is necessary.

@AlejandroCN7 AlejandroCN7 added bug Something isn't working log New information that should be recordered labels Sep 2, 2024
@AlejandroCN7 AlejandroCN7 self-assigned this Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working log New information that should be recordered
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant
0