GodotAIGym
Godot
GodotAIGym | Godot | |
---|---|---|
6 | 2,745 | |
201 | 83,900 | |
- | 1.9% | |
0.0 | 10.0 | |
10 months ago | 3 days ago | |
Python | C++ | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
GodotAIGym
-
Gym environments using Godot engine
Hello, there are already Unreal and Unity engines bindings for python. I just made my own for Godot engine: https://github.com/lupoglaz/GodotAIGym And also recorded tutorials on how to code LunarLander environment and train an agent:
-
Reinforcement learning in Godot
If you're a fan of deep reinforcement learning and Godot engine, I made a tutorial series on how to train your AI in Godot using GodotAIGym (https://github.com/lupoglaz/GodotAIGym) library:
-
What Is Your “Godot Goal” For 2022?
Update GodotAIGym for windows and make youtube tutorial similar to HeartBeast action rpg tutorial on how to code bipedal walker (like this) environment and train an agent from scratch. In general I think that gamedev misses a lot of interesting recent AI techniques so, I want to make tutorials on communicating agents, learning locomotion in 3d etc.
-
Stop Waiting for Godot
There’s also an interface to use OpenAI Gym environments in Godot.
https://github.com/lupoglaz/GodotAIGym
I have succeeded in modifying the new interface to send images to a version of Google’s DreamerV2 RL learner. I have a simple test environment I could publish.
But I stalled because I kept getting a segmentation fault and I wasn’t up for debugging it.
I think it would be very cool to be able to make a game in Godot and then train an agent to play it using DreamerV2 or similar. I’ve still not posted my sample files but if someone responds here saying they would like to see it, I will try to push it all to GitHub.
-
OpenAI disbands its robotics research team
Great comment thank you.
Yes unless the industry sees value in a step change in the scale on offer to regular devs, progress on massive nets will be slow.
Hooking things together is pretty much my job. I have used ROS extensively in the past but now I just hook things together using python.
But I consider what Tesla is doing to be pretty promising, and they are layering neural nets together where the output of three special purpose networks feed in to one big one etc. They call that a hydra net. No framework like ROS is required because each net was trained in situ with the other nets on the output of those nets, so I believe all compute logic is handled within the neural network processor (at some point they integrate standard logic too but a lot happens before that). Definitely watch some Karpathy talks on that.
And currently I am simply not skilled enough to compose multiple networks like that. So I COULD compose multiple standalone networks, process them separately, and link them together using IPC of some kind, but it would be very slow compared to what's possible.
I probably will do that eventually. I mean right now I am working on two networks - an RL trained trail following network trained in simulation on segmentation-like data (perhaps using Dreamer V2), and a semantic segmentation net that is trained on my hand labeled dataset with "trail/not-trail" segmentation. So far my segmentation net works okay. And a first step will actually be to hand-write an algorithm to go from segmentation data to steering. My simulation stuff is almost working. I built up a training environment using Godot video game engine and hacked the shared memory neural net training add on to accept image data, but when I run the sim in training on DreamerV2, something in the shared memory interface crashes and I have not resolved it. [1]
But all of this is a hobby and I have a huge work project [2] I am managing myself that is important to me, so the self driving off road stuff has been on pause. But I don't stress about it too much because the longer I wait, the better my options get on the neural network side. Currently my off road rover is getting some mechanical repairs, but I do want to bring it back up soon.
[1] https://github.com/lupoglaz/GodotAIGym/issues/15
[2] https://community.twistedfields.com/t/a-closer-look-at-acorn...
-
Machine Learning for Godot
Godot Open AI Gym Training (Linux Only)
Godot
- Ask HN: Modern Day Equivalent to HyperCard?
-
Tetris Development 1 - Setting Up
Instead, I was recommended Godot by a fellow developer. It is an easy-to-pickup and beginner-friendly open-source engine, which I will use to develop the Tetris game.
- Web Game Engines and Libraries
-
Name it Better (ideas for making more informative names)
Here's an example file tree from a part of the Godot game engine source code.
-
Ask HN: Yo wants to build a game, I'm lost. What can I do?
Godot [1] is a very nice game engine. There's a game on Itch.io that teaches the scripting language it uses [2], and a ton of great tutorials on YouTube for beginners and experts alike.
[1]: https://godotengine.org/
- Show HN: GodotOS: A Fake Operating System Interface Made in the Godot Engine
- Unity Software cutting 25% of staff in 'company reset' continuation
-
Show HN: Mutable.ai – Turn your codebase into a Wiki
The Bitcoin and Mastadon links don't seem to be working! (wiki not found)
Would love to see this for Godot (https://github.com/godotengine/godot). Maybe Maplibre too (https://github.com/maplibre/maplibre-native)!
-
My thought on different engines
Godot Engine is a free and open-source game engine. The story started as an in-house engine of an Argentinian studio in 2007, and since 2014, it's been a community-driven project with a lot of contributors.
- How do "feature flags work"
What are some alternatives?
o3de - Open 3D Engine (O3DE) is an Apache 2.0-licensed multi-platform 3D engine that enables developers and content creators to build AAA games, cinema-quality 3D worlds, and high-fidelity simulations without any fees or commercial obligations.
bevy - A refreshingly simple data-driven game engine built in Rust
godot-python - Python support for Godot 🐍🐍🐍
godot-tensorflow-workspace - Machine learning for Godot Engine
Cocos2d - Cocos2d-x is a suite of open-source, cross-platform, game-development tools utilized by millions of developers across the globe. Its core has evolved to serve as the foundation for Cocos Creator 1.x & 2.x.
GDevelop - :video_game: Open-source, cross-platform game engine designed to be used by everyone.
Panda3D - Powerful, mature open-source cross-platform game engine for Python and C++, developed by Disney and CMU
ursina - A game engine powered by python and panda3d.
Spring RTS game engine - A powerful free cross-platform RTS game engine. - Report issues at https://springrts.com/mantis/
raylib - A simple and easy-to-use library to enjoy videogames programming
flame - A Flutter based game engine.