GodotAIGym
godot-python
GodotAIGym | godot-python | |
---|---|---|
6 | 38 | |
201 | 1,787 | |
- | - | |
0.0 | 0.0 | |
10 months ago | 4 months ago | |
Python | Python | |
MIT License | GNU General Public License v3.0 or later |
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-python
-
i can't find a game engine that don't force me to code visualy (for 2d games)
Someone here : https://github.com/touilleMan/godot-python is working on support for Python in Godot. Didn't try, your mileage may vary.
-
Can I make a FPS Boomer shooter using Godot and Python ?
Incidentally, Godot can use Python, but it's not officially supported, not well documented, and better avoided as a beginner.
- How do I call a python function from Godot 4?
-
Working in Godot vs pure Python
I think there are even some efforts to make Python usable in Godot 4 (https://github.com/touilleMan/godot-python) so if I needed a specific library or something I think you can simply do an script with Python and all the rest in GDScript? But we will see.
-
What is the most efficient way of communication between an exported Godot project (Windows) and a compiled Python executable?
I am aware of GitHub - touilleMan/godot-python: Python support for Godot 🐍🐍🐍 but as far as I know, the project is not actively maintained or suitable for Godot 3.5x
-
Deciding between PyGame and Godot
There's also Godot-python if you're into that. I say don't
- Any open source games written in Python? Ideally, something being actively developed
- how do I embed the python interpreter in godot?
-
Are there other languages that can be compiled to GDScript bytecode?
Python Support
-
Video to numerical array. Is it possible in Godot?
There is a python support for Godot made by touilleMan.
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.
godot-ruby - ruby language binding for godot game engine
godot-tensorflow-workspace - Machine learning for Godot Engine
Godot - Godot Engine – Multi-platform 2D and 3D game engine
godot-lua-pluginscript - Godot PluginScript for the Lua language, currently based on LuaJIT's FFI
gdnative - Rust bindings for Godot 3
GDSerialAsset - Asset with a serial communication example and helper functions for godot engine
TheAlgorithms - All Algorithms implemented in Python
GDevelop - :video_game: Open-source, cross-platform game engine designed to be used by everyone.
godot-proposals - Godot Improvement Proposals (GIPs)