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

Plotting more metrics for PPO #842

Open
2 of 8 tasks
arvganesh opened this issue Mar 31, 2023 · 3 comments
Open
2 of 8 tasks

Plotting more metrics for PPO #842

arvganesh opened this issue Mar 31, 2023 · 3 comments
Labels
blocked Can't be worked on for now enhancement Feature that is not a new algorithm or an algorithm enhancement
Milestone

Comments

@arvganesh
Copy link

arvganesh commented Mar 31, 2023

  • I have marked all applicable categories:
    • exception-raising bug
    • RL algorithm bug
    • documentation request (i.e. "X is missing from the documentation.")
    • new feature request
  • I have visited the source website
  • I have searched through the issue tracker for duplicates
  • I have mentioned version numbers, operating system and environment, where applicable:

Based on this:

I wanted to have more metrics plotted for PPO. Specifically, these:

It would be helpful to have clip_fraction, explained_variance, and approx_kl also logged for PPO agents. Thanks!

| train/                  |             |
|    approx_kl            | 0.037781604 |
|    clip_fraction        | 0.243       |
|    clip_range           | 0.2         |
|    entropy_loss         | -1.06       |
|    explained_variance   | 0.999       |
|    learning_rate        | 0.001       |
|    loss                 | 0.245       |
|    n_updates            | 180         |
|    policy_gradient_loss | -0.00398    |
|    std                  | 0.205       |
|    value_loss           | 0.226       |
@Trinkle23897 Trinkle23897 added the enhancement Feature that is not a new algorithm or an algorithm enhancement label Apr 1, 2023
@Trinkle23897
Copy link
Collaborator

Are you interested in submitting a PR to support this?

@arvganesh
Copy link
Author

Sure, will work on it this week.

@MischaPanch
Copy link
Collaborator

@arvganesh I'm going through older issues from time to time and now noticed this one. It's related to
#933 and #895, both of which are good issues for a first contribution to tianshou. Are you still interested in preparing a PR?

@MischaPanch MischaPanch added this to the Release 1.0.0 milestone Oct 14, 2023
@MischaPanch MischaPanch added the blocked Can't be worked on for now label Oct 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked Can't be worked on for now enhancement Feature that is not a new algorithm or an algorithm enhancement
Projects
Development

No branches or pull requests

3 participants