ckyun777 / tensorflow-ue4

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tensorflow-ue4

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 to easy conversion between C++ and blueprint types (structs and variables) and JSON. Can also be used to easily connect to a web service.

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.

About

License:MIT License


Languages

Language:C 72.8%Language:C++ 14.2%Language:Python 9.0%Language:C# 4.0%