-
Notifications
You must be signed in to change notification settings - Fork 213
Open
Labels
Description
So I've built the project using a c++ project and have been using this plugin alongside the LeapMotion Plugin for UE4, both of which for UE4.23. I'm sending the frame data gathered from the leap motion to the python script, which works, but refuses to load it into the script. I gathered this from the callback which is below:
LogPython: JSON test script input passed: {"test":"testValue"}
LogPython: Error: Exception in thread Thread-3489:
Traceback (most recent call last):
File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python36_64\Lib\threading.py", line 916, in _bootstrap_inner
self.run()
File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python36_64\Lib\threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\paulb\OneDrive\Documents\GitHub\FinalYearProject\Plugins\UnrealEnginePython\Content\Scripts\upythread.py", line 19, in backgroundAction
result = action(actionArgs)
File "C:\Users\paulb\OneDrive\Documents\GitHub\FinalYearProject\Plugins\tensorflow-ue4\Content\Scripts\TensorFlowComponent.py", line 114, in json_input_blocking
resultJson = self.tfapi.onJsonInput(json.loads(args))
AttributeError: 'TensorFlowComponent' object has no attribute 'tfapi'
Not sure where I'm going wrong and would appreciate any help. Please let me know if there is anything else you need