edbeeching/godot_rl_agents

Jumper Hard example not working with stable baselines in godot 3.5

visuallization opened this issue · 4 comments

Hey there,

When I try to run the jumper hard example with stable baselines in godot 3.5.
gdrl --env_path .\envs\builds\JumperHard\jumper_hard.exe --config_file .\envs\configs\ppo_config_jumper_hard.yaml
I do get the following error:

grafik

@yaelatletl Can you confirm that this does not currently work?

Cheers

Okay I even got a similar issue with godot 4 version when downloading the BallChase example and running: python examples/stable_baselines3_example.py --env_path=examples/godot_rl_BallChase/bin/BallChase.exe --speedup=8

I get
grafik

Thanks for spotting this bug. I just fixed it on the godot 4 master branch. commit 6964f73
I have not got around to updating the 3.5 branch. Feel free to submit a PR on this. Otherwise I will get round to it later this weekend.

Let me know if you have any other issues.

Nice, thanks for fixing! I can confirm this works now on all my tested environments.

I just realized & please confirm if I get this right: The godot3.5 branch and the main branch seem to be pretty similar from the python rl side. Maybe we shouldn't split between 3.5 and 4 in this repo, as the python algorithms seem to run for both godot versions and the only thing which breaks is the godot plugin. So maybe it makes sense to differentiate between the 2 versions only inside the separated godot plugin repository and then make sure to have a stable main branch on this repo and continue further development on a dedicated development branch, so people can get directly started from the main branch without worrying about things not working.