Skip to content
/ ueflow Public

Use TensorFlow models in an Unreal Engine 4 blueprint

License

Notifications You must be signed in to change notification settings

p4vv37/ueflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ueflow

TensorFlow model used to generate a water surface around a moving obstacle in an Unreal Engine 4. Based on cppflow - https://github.com/serizba/cppflow

Example

Video demonstration (youtube):

Demo

Preview Preview

Part of thesis PL

Part of thesis EN

Thesis

Requirements

Requirements: CUDNN 8.1 CUDA 11.2

https://github.com/serizba/cppflow/tree/cppflow2/include/cppflow need to be placed in TFInUnreal\Source\ThirdParty\include

Tensorflow C API libraries are needed. They can be downloaded from: https://www.tensorflow.org/install/lang_c And should be placed in: TFInUnreal\Source\ThirdParty\ As an example, path to tensorflow.dll should like like this: TFInUnreal\Source\ThirdParty\lib\tensorflow.dll

Both GPU and CPU versions should work, if versions of CUDNN and CUDA are correct.

Unreal treats warning raised in cppflow as an error, so comment lines 942-944:

TF_CAPI_EXPORT extern TF_WhileParams TF_NewWhile(TF_Graph* g, TF_Output* inputs,
                                                 int ninputs,
                                                 TF_Status* status);

in tensorflow\c\c_api.h

In the same file add following include: #include <iterator>

About

Use TensorFlow models in an Unreal Engine 4 blueprint

Resources

License

Stars

Watchers

Forks

Packages

No packages published