getnamo / TensorFlow-Unreal-Examples

Drag and drop Unreal Engine TensorFlow examples repository.
MIT License
218 stars 44 forks source link

fail open sample .uproject file with source code version of unreal 4.17.1 #9

Closed idnemo closed 5 years ago

idnemo commented 6 years ago

Error message says it the plugin build with a different engine version and can't enabled. The plugins also build on 4.17.1 right? And the solution will be I need to build plugin by myself? What's the correct way to do this?

getnamo commented 6 years ago

These are the correct instructions: https://github.com/getnamo/tensorflow-ue4-examples#setup

If you have a matching plugin version dragged in (0.4.1) and your project is C++ (you may just need to add dummy code class to convert the project from BP to C++), then if you build your project, the plugins should be automatically rebuild to your source version engine.

sc1991327 commented 6 years ago

I use Ue4.17 and v0.4.1 plugin, but also failed. No any error and warning in compiling and runnning error:

LogPython: Error: No module named 'tensorflow' LogPython: Error: Traceback (most recent call last): LogPython: Error: File "G:/UnrealProjects/TensorflowUE4/TestTensorflow/Plugins/tensorflow-ue4/Content/Scripts\TensorFlowComponent.py", line 2, in import tensorflow as tf LogPython: Error: ImportError: No module named 'tensorflow'

can not recognize module in unrealenginepython. what should I do?

getnamo commented 6 years ago

You may need to restart the project one extra time before pip correctly pulls the tensorflow module. Ensure that your network isn't blocked for pip packages.

getnamo commented 6 years ago

likely related to https://github.com/getnamo/tensorflow-ue4/issues/19

getnamo commented 5 years ago

addressed in readme: https://github.com/getnamo/tensorflow-ue4#no-module-named-tensorflow