You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Build fails to copy all required linux shared objects for TensorFlow version 1.15, TensorFlowSharp version 1.15.1.
To Reproduce
Run using TensorFlowSharp 1.15.1 NuGet packages on linux.
Expected behavior
Required dependencies to be available.
Exception
Unhandled Exception: System.DllNotFoundException: Unable to load shared library 'libtensorflow' or one of its dependencies.
Desktop (please complete the following information):
Debian GNU/Linux 9 (stretch) within Docker container.
Additional context
Only libtensorflow.so and libtensorflow_framework.so are copied from libtensorflow\lib to runtimes\linux\native\ as part of the build specified in TensorFlowSharp.csproj. The following additional libraries from libtensorflow are also required for running TensorFlow 1.15 on linux:
I'm facing the same issue as you. In the meantime, I've created my own NuGet which is working. But it is not productized. It seems this project is not maintained anymore. How did you overcome the issue on your side ? Did you fork the project ? Did you create a new NuGet as well ? If yes, did you publish it in public repo ?
Describe the bug
Build fails to copy all required linux shared objects for TensorFlow version 1.15, TensorFlowSharp version 1.15.1.
To Reproduce
Run using TensorFlowSharp 1.15.1 NuGet packages on linux.
Expected behavior
Required dependencies to be available.
Exception
Unhandled Exception: System.DllNotFoundException: Unable to load shared library 'libtensorflow' or one of its dependencies.
Desktop (please complete the following information):
Debian GNU/Linux 9 (stretch) within Docker container.
Additional context
Only
libtensorflow.so
andlibtensorflow_framework.so
are copied fromlibtensorflow\lib
toruntimes\linux\native\
as part of the build specified inTensorFlowSharp.csproj
. The following additional libraries from libtensorflow are also required for running TensorFlow 1.15 on linux:I suspect the same issue exists for the .dylib files required by OS X, though have not tested this myself.
I propose replacing the following lines in TensorFlowSharp.csproj:
With the following:
Libtensorflow binaries
https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-linux-x86_64-1.15.0.tar.gz
https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-darwin-x86_64-1.15.0.tar.gz
https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-windows-x86_64-1.15.0.zip
Please let me know if you'd like me to create a pull request to resolve this issue.
The text was updated successfully, but these errors were encountered: