I'm new to using TensorFlowSharp. I'm trying to work in Unity with Image Classification, but this is the error that keeps coming up. I did find a similar thread over here: https://github.com/migueldeicaza/TensorFlowSharp/issues/379
I have the exact same problem as the one in issue mentioned above.
But the solution doesn't work for me since I can't find an older version of TFSharp due to 'switching to native inference engine in new versions of ML-Agents' reason. Help will be really appreciated.
Perhaps, you can try using an older version of ML-Agents that does use TensorFlowSharp?
Hey i found the solution here:
http://upschannel.eu/watch/Q6ERFwQNkzo/MACHINE+LEARNING+and+AUGMENTED+REALITY.html
On line 27 in "Classification.cs" instead of #if UNITY_ANDROID change it to #if (UNITY_ANDROID && !UNITY_EDITOR)
Hey, thanks a lot! This worked.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
Hey i found the solution here:
http://upschannel.eu/watch/Q6ERFwQNkzo/MACHINE+LEARNING+and+AUGMENTED+REALITY.html
On line 27 in "Classification.cs" instead of
#if UNITY_ANDROIDchange it to#if (UNITY_ANDROID && !UNITY_EDITOR)