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

Is rsl_rl v2.0.x supporting legged_gym? #25

Open
JLCucumber opened this issue Mar 5, 2024 · 1 comment
Open

Is rsl_rl v2.0.x supporting legged_gym? #25

JLCucumber opened this issue Mar 5, 2024 · 1 comment

Comments

@JLCucumber
Copy link

Hi,

I am using legged_gym currently for legged robots training. I noticed that this package rsl_rl has been updated to 2.0 version while the required version for legged_gym is v1.0.2. I wonder if it is available to adopt this 2.0 version to my legged gym without potential problems, since I find myself in need of the newly-added tensorboard to view the trainning performance.

I am new to tensorboard and rl coding, so I'm afraid manually adding a tensorboard by myself to my original code may result in some problems. Thank you for your help : )

@JLCucumber
Copy link
Author

Never mind, I found the answer in my code 🤡 👈 🤣

A tensorboard tool for viewing my training results is already available in rsl_rl v1.0.2. It is located in rsl_rl/runners/on_policy_runner.py and is a bunch of code blocks with self.writer.add_scalar. After each training session, this particular file is saved to the exact location of the trained model, usually legged_gym/logs/[your task name]/[your model timestamp].

Here's how to use it (for my task):

  1. cd /home/jlcucumber/nvidia/legged_gym/logs/dogzilla/
  2. tensorboard --logdir ". /Mar03_17-18-24_"
  3. Then it will show the check link and hopefully you will see something like this:

! image

Cheers

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