https://github.com/robsteranium/cart-pole
Hello World with Godot Reinforcement Learning Agents
https://github.com/robsteranium/cart-pole
Last synced: 5 months ago
JSON representation
Hello World with Godot Reinforcement Learning Agents
- Host: GitHub
- URL: https://github.com/robsteranium/cart-pole
- Owner: Robsteranium
- Created: 2023-05-03T07:13:10.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-26T15:35:03.000Z (about 3 years ago)
- Last Synced: 2025-04-20T01:39:45.312Z (about 1 year ago)
- Language: GDScript
- Size: 19.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Cart Pole
Hello World with Godot Reinforcement Learning Agents
## Install and set-up
e.g.
poetry install
poetry shell
## Training
### With Godot
Run `gdrl` in a shell then hit Play on Godot.
### Headless
Generate a binary of the game:
godot --headless --export-release "Linux/X11" --path . CartPole.x86_64
Then pass this to `gdrl`:
gdrl --env_path CartPole.x86_64 --speedup 100
See `gdrl --help` for options e.g. `--viz` etc.