Skip to content

marshal-it/tensorflow-ue4

 
 

Repository files navigation

tensorflow-ue4

GitHub release Github All Releases

Unreal Engine plugin for TensorFlow.

This plugin contains C++, Blueprint and python scripts that encapsulate TensorFlow operations as an Actor Component. The component allows you to either include normal tensorflow python scripts with little change and have the I/O forwarded from UE4 or to (in the future) construct tensorflow operations directly from blueprint.

Currently incomplete, requires a new basic API for blueprint support. See https://github.com/getnamo/tensorflow-ue4/issues for details.

Dependencies

Depends on UnrealEnginePython plugin and SocketIO Client plugin.

The UnrealEnginePython plugin fork contains changes to allow automatic dependency resolution via pip. Simply specifying tensorflow as pythonModule dependency in https://github.com/getnamo/tensorflow-ue4/blob/master/Content/Scripts/upymodule.json makes the editor auto-resolve the dependency on first run. The fork also contains multi-threading support and callback on game-thread to allow TensorFlow to work without noticeably impacting the game thread.

SocketIO Client is used for easy conversion between C++ and blueprint types (structs and variables) and JSON. Can also be used optionally to easily connect to a web service via socket.io.

Examples

Project examples found under tensorflow-ue4-examples.

It is also the main repository where all development is tracked for all plugin dependencies for tensorflow.

Plugin - MIT

TensorFlow and TensorFlow Icon - Apache 2.0

About

tensorflow plugin for ue4

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 54.9%
  • C++ 34.1%
  • Python 6.7%
  • C# 4.3%