Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using TensorflowSharp with UWP #260

Open
ActiveNick opened this issue Apr 18, 2018 · 4 comments
Open

Using TensorflowSharp with UWP #260

ActiveNick opened this issue Apr 18, 2018 · 4 comments

Comments

@ActiveNick
Copy link

I am trying to use TensorflowSharp with Unity ML Agents to produce a UWP build. However I am getting an error where it is unable to load libtensorflow.dll. Do you have a working sample using .NET Standard 2.0 DLL version of TF# with UWP?

I have documented my issues in the Unity ML Agents GitHub repo here: Unity-Technologies/ml-agents#648.

@edwardyehuang
Copy link

You need to download the tensorflow.dll, and rename to libtensorflow.dll, and put it with your exe. If you are using the GPU version, you also need to have the cudnn dll with cuda install

@ActiveNick
Copy link
Author

I can confirm that libtensorflow.dll is already in the same folder as the exe after deployment. No dice.

@edwardyehuang
Copy link

@ActiveNick Are you using the GPU dll? Or just CPU dll

@bbday
Copy link

bbday commented May 25, 2018

rember to force load with x64 and not 32 bit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants