Skip to content
Machine learning for Godot Engine
Branch: master
Clone or download
Latest commit f58f4e3 Jun 16, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gclient Update .gclient May 12, 2019
.gitignore Update workspace. May 11, 2019
LICENSE Create LICENSE May 11, 2019 Update Jun 16, 2019
Screen Shot 2019-05-13 at 9.21.18 PM.png Add files via upload May 14, 2019

Tensorflow 2.0beta1 for Godot

<Wikipedia> TensorFlow is a free and open-source software library for dataflow and differentiable programming across a range of tasks. It is a symbolic math library, and is also used for machine learning applications such as neural networks.

This is Tensorflow for Godot Engine. The demo classifies an image into labels. This is a base for more interesting ideas like image upscaling, ai bots, chat bots, animations and others.


See also

Setup Instructions

  • Get depot tools.
  • Fetch the client
  • Compile godot
  • Open the example project
  • Run the game
  • See classification of the image



Download the depot_tools bundle and extract it somewhere.

Add depot_tools to the start of your PATH (must be ahead of any installs of Python). Assuming you unzipped the bundle to C:\workspace\depot_tools:

With Administrator access: Control Panel → System and Security → System → Advanced system settings

Modify the PATH system variable to include C:\workspace\depot_tools.

Without Administrator access: Control Panel → User Accounts → User Accounts → Change my environment variables

Add a PATH user variable: C:\workspace\depot_tools;%PATH%.

Go to godot-tensorflow-workspace and run gclient sync.


git clone
git clone
cd godot-tensorflow-workspace
PATH=$PATH:../depot_tools gclient sync


git clone
cd godot-tensorflow-workspace
PATH=$PATH:../depot_tools gclient sync

Build Godot

Go to src/thirdparty/godot and compile using scons platform=windows tools=yes -j8. Your platform may be different.

Use as reference.

Execute the binary in src/thirdparty/godot/bin and open the project.

Build System

For the build system:

sudo apt install git-lfs python
git clone
cd godot-tensorflow-workspace
PATH=$PATH:../depot_tools gclient sync


You can’t perform that action at this time.