Open Gribesh opened 7 months ago
Hello, the offlineRL branch is probably outdated. The last branch that I tested was https://github.com/DLR-RM/rl-baselines3-zoo/pull/260 (but I haven't tested it since one year)
Could someone help me understand why the feat/offline-RL branch does not recognize the environment while the feat/gym-donkeycar branch does?
This is the same issue as https://github.com/araffin/aae-train-donkeycar/issues/7#issuecomment-1794379988
There was a migration from gym to gymnasium, and the feat/gym-donkeycar
does offer some patching to help with the migration (see warnings in the terminal).
A better solution would be to migration gym donkey car repo to gymnasium.
Thanks for the update https://github.com/DLR-RM/rl-baselines3-zoo/pull/260 does work, I had to make few changes to run enjoy.py
file to make it run.
Also can you let me know what parameter I can give while running enjoy.py
file so that it can run in real donkey car (like: JetRacer) as well?
Also can you let me know what parameter I can give while running enjoy.py file so that it can run in real donkey car (like: JetRacer) as well?
I've only tried with my custom car so far. This is more related to gym env you are using that will interface with the car, the RL Zoo/SB3 only interact via the gym API (reset()
, step()
).
Thanks for the confirmation. I was looking at the parameters and making tweaks.
Hopefully, I can use donkey car manage.py
with the trained model using rl baseline3 zoo. (As I am using waveshare so environment might be similar enough to make some actions in real world )
❓ Question
Hello everyone,
I am following @araffin video Part 1 for donkey car https://www.youtube.com/watch?v=ngK33h00iBE
I'm currently working on a project using the rl-baselines3-zoo with the aim of training a reinforcement learning model for the Donkey Car environment. However, I've encountered a challenge with different branches in the repository.
When I run the training command on the
feat/offline-RL
branch:I get the following error (
gymnasium.error.Error: No registered env with id: donkey-waveshare-v0.
):I've made sure that my environment is correctly named and registered. I am able run from interactive python. Despite this, the error persists, which prevents the script from finding the
donkey-waveshare-v0
environment within Gymnasium's registry.On the other hand, when I switch to the
feat/gym-donkeycar
branch, the environment loads without any issues, and the training begins as expected.Could someone help me understand why the
feat/offline-RL
branch does not recognize the environment while thefeat/gym-donkeycar
branch does? Is there a step I might be missing in the setup for thefeat/offline-RL
branch?Additionally, I'm curious to know if there is a more recent branch or version of rl-baselines3-zoo that is recommended for use with Donkey Car simulations. If there is a newer branch, could you please direct me to it?
Any insights or assistance would be greatly appreciated!
Checklist