TensorFlow-Unreal icon indicating copy to clipboard operation
TensorFlow-Unreal copied to clipboard

ImportError: No module named tensorflow

Open nowakrafal opened this issue 4 years ago • 2 comments

I am trying to create a simple project using the plugin for version 4.25. I copied the entire "Plugins" folder to the root folder of my project. Then in the ml-remote-server folder I ran InstallRequirements.bat. Despite installing all the files correctly, when I run unreal and type "import tensorflow as tf" in the python console I get an error.

LogPython: Error: Traceback (most recent call last): LogPython: Error: File "", line 1, in LogPython: Error: ImportError: No module named tensorflow

Python in Visual Studio Code works fine and I can import this library from there. Any clue why I can't call it up in unreal? In unreal plugins i got MachineLearningRemote, TensorFlow, Socket.IO Client and Python Editor Script Plugin enabled.

nowakrafal avatar Mar 15 '21 13:03 nowakrafal

Do you know if https://github.com/getnamo/tensorflow-ue4-examples/releases/tag/0.7.0 works?

getnamo avatar Mar 15 '21 19:03 getnamo

Yea, example for cpu in 4.23 works fine

nowakrafal avatar Mar 16 '21 07:03 nowakrafal