├── .gitignore ├── .gitmodules ├── LICENSE ├── README.md └── Screen Shot 2019-05-13 at 9.21.18 PM.png /.gitignore: -------------------------------------------------------------------------------- 1 | 2 | \.gclient_entries 3 | 4 | godot-tensorflow-demo/ 5 | 6 | src/godot/ 7 | 8 | src/godot 9 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "godot-tensorflow-demo"] 2 | path = godot-tensorflow-demo 3 | url = https://github.com/godot-extended-libraries/godot-tensorflow-demo.git 4 | [submodule "src/godot"] 5 | path = src/godot 6 | url = https://github.com/godot-extended-libraries/godot-tensorflow-godot.git 7 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2019 K. S. Ernest (iFire) Lee 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ## Tensorflow 2.0 for Godot 2 | 3 | ABANDONED because the lack of GPU tensorflow for the desktop. 4 | 5 | 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. 6 | 7 | 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. 8 | 9 | ![Screen](https://github.com/godot-extended-libraries/godot-tensorflow-workspace/blob/master/Screen%20Shot%202019-05-13%20at%209.21.18%20PM.png) 10 | 11 | ## See also 12 | 13 | https://github.com/godot-extended-libraries/godot-tensorflow 14 | 15 | https://github.com/godot-extended-libraries/godot-tensorflow-demo 16 | 17 | https://github.com/godot-extended-libraries/tensorflow 18 | 19 | ## Setup Instructions 20 | 21 | * clone this repository `git clone https://github.com/godot-extended-libraries/godot-tensorflow-workspace.git --recursive` 22 | * Go to the source `cd src/godot`. 23 | * Compile godot using `scons platform=windows tools=yes -j8`. Your platform may be different. 24 | * Open the example project `./bin/godot.windows.tools.64 --path ../../godot-tensorflow-demo/ -e` 25 | * Run the game `./bin/godot.windows.tools.64 --path ../../godot-tensorflow-demo/` 26 | * See classification of the image 27 | 28 | Use https://docs.godotengine.org/en/3.1/development/compiling/compiling_for_windows.html as reference. 29 | -------------------------------------------------------------------------------- /Screen Shot 2019-05-13 at 9.21.18 PM.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/godot-extended-libraries/godot-tensorflow-workspace/190384190e349a9e91cc5bd77fc79222f7705362/Screen Shot 2019-05-13 at 9.21.18 PM.png --------------------------------------------------------------------------------