getnamo / TensorFlow-Unreal

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

example for UE 4.25 #60

Open AldemarMl opened 3 years ago

AldemarMl commented 3 years ago

I pasted the Plugin folder in the existing project in UE 4.25, but I did't work, apparently didn't install the packages by pip, can you provide a UE 4.25 implementation or increase the description steps in the documentation?

getnamo commented 3 years ago

For 4.25 you should use this build: https://github.com/getnamo/tensorflow-ue4/releases/tag/1.0.0alpha2

The structure has changed. It now expects a remote (or locally embedded) python environment which runs: https://github.com/getnamo/ml-remote-server/blob/master/README.md, see https://github.com/getnamo/ml-remote-server/blob/master/README.md#quick-setup for instructions on how to set that up, then using the new Tensorflow Component the rest should work as before with minor API changes.

I do need to update the documentation to emphasize this difference for 4.25+, it's currently a bit confusing. A second part is that I need to add an auto-run script for a locally embedded python setup so that it works without additional setup like earlier versions. It's the reason the 4.25 release is marked as alpha for the moment. These enhancements may take a bit of time due to schedule constraints.