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

About record() function #30

Open
Chen-Xuming opened this issue Jun 12, 2023 · 0 comments
Open

About record() function #30

Chen-Xuming opened this issue Jun 12, 2023 · 0 comments

Comments

@Chen-Xuming
Copy link

Why record episode reward in this way? This makes the reward curve look nice but in fact it is not.
Why not just record the value of ep_r?

if global_ep_r.value == 0.:
      global_ep_r.value = ep_r
else:
      global_ep_r.value = global_ep_r.value * 0.99 + ep_r * 0.01
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