question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No data available for logs/ppo\RobotReach-v1_1 No handles with labels found to put in legend.

See original GitHub issue

Hello, I have trained my RobotReach using PPO, and the success rate is 1,it is saved in logs, but when I run python scripts/plot_train.py -a ppo -e RobotReach -y success -f logs/ ,i got no thing but: No data available for logs/ppo\RobotReach-v1_1 No handles with labels found to put in legend. What’s wrong? thanks.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
qgallouedeccommented, May 19, 2022

Try with

monitor_kwargs = dict(info_keywords=("success_rate",))
0reactions
araffincommented, May 19, 2022

KeyError: ‘success_rate’

so, the correct one is:

monitor_kwargs = dict(info_keywords=("is_success",))

This is the key that your environment must set in the info dict.

Thanks @qgallouedec , my example was wrong, but the code linked was right 😉

Read more comments on GitHub >

github_iconTop Results From Across the Web

no handles with labels found to put in legend - Statology
This tutorial explains how to fix the following error in Matplotlib in Python: no handles with labels found to put in legend.
Read more >
No handles with labels found to put in legend - Stack Overflow
This returns the following error: No handles with labels found to put in legend. I'm not sure why, because, based on the documentation...
Read more >
No handles with labels found to put in legend : Matplotlib ...
No handles with labels found to put in legend warning occurs in Matplotlib when we call legend() function without labels and their respective...
Read more >
No Handles With Labels Found to Put in Legend | Delft Stack
This article demonstrates how we can solve the warning (No handles with labels found to put in legend) when trying to plot something...
Read more >
"No handles with labels found to put in legend" issue #60
Hi all i just read the chapter 1 and ready to code a little bit. after cloned the repo, i run a few...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found