I followed the instructions of this tutorial:
There is this comment provided: g++ -std=c++11 -shared zero_out.cc -o zero_out.so -fPIC -I$TF_INC -I$TF_INC/external/nsync/public -L$TF_LIB -ltensorflow_framework -O2
But the linker cannot find -ltensorflow_framework (it should be a tensorflow_frameowork.so file!?)
After some research, I found following links:
- http://ift.tt/2Di2Jhi
- http://ift.tt/2oWj0Fs --> I downloaded the .jar and linked it via
-l/pathto/tensorflow_framework.so, still thefatal error: tensorflow/core/framework/op_kernel.h: No such file or directoryis not found. - http://ift.tt/2DeX0sC last comment does not work and so does not help me.
I tried to search for sudo find /usr/. -name "tensorflow_framework.so" recursively but I could not find anything. Tensorflow is installed for sure via anaconda and I also cloned and compiled the repository from source.
How to find a way to include the -ltensorflow_framework?
Aucun commentaire:
Enregistrer un commentaire