getnamo / TensorFlow-Unreal

TensorFlow plugin for the Unreal Engine.
Other
1.15k stars 211 forks source link

Refactor into base tensorflow component #44

Open getnamo opened 5 years ago

getnamo commented 5 years ago

We can probably add a tickbox or a tensorflow component subclass which would enable remote tensorflow. This would work via re-routing calls to the tensorflow component to e.g. a python socket.io server which would call the same TFPluginAPI scripts on the server and return results without changing any blueprint or python API currently used.

This would enable easy scaling for training or production if greater performance is needed without depending on it locally.

getnamo commented 5 years ago

Likely best to separate into a new plugin (https://github.com/getnamo/tensorflow-remote-ue4) so that it does not have UnrealEnginePython dependency. We can use that plugin as a dependency to define the base class tensorflow component with C++ calls so both share same API.

getnamo commented 5 years ago

base class will be in remote tensorflow plugin which this will depend on. Remote tensorflow plugin will only depend on socket.io plugin.

Variant summary:

will later have