这是indexloc提供的服务,不要输入任何密码
Skip to content

Hotfix : keep statisics of buffer when reset buffer in on policy trainer #328

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

Merged
merged 1 commit into from
Mar 27, 2021

Conversation

ChenDRAG
Copy link
Collaborator

For now, in on policy trainer, collector.reset_buffer() will reset statistics of buffer, which affects reward/length statistics. This pr offers an option to fix that.

@ChenDRAG
Copy link
Collaborator Author

@Trinkle23897 I'm not confident with this implementation(not familar with buffer implementation), can you check?

@ChenDRAG ChenDRAG requested a review from Trinkle23897 March 27, 2021 03:35
@Trinkle23897 Trinkle23897 merged commit 105b277 into thu-ml:master Mar 27, 2021
BFAnas pushed a commit to BFAnas/tianshou that referenced this pull request May 5, 2024
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

Successfully merging this pull request may close these issues.

2 participants