Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Link statically against TensorFlow C library #83
As a user, I want to download a single binary for PhotoPrism so that I can easily use it on any computer without complicated installation.
Key to this endeavour is that we stick with TensorFlow as our only C library dependency and link it statically into our binary (maybe dlib too, another ML library). While it is currently not available in a static version from Google, we can build it ourselves or wait until next year when Bazel has a rule to build a fully static library.
AFAIK, a static version of TensorFlow can be built with cmake (there are howtos out there for various platforms): https://github.com/tensorflow/tensorflow/tree/master/tensorflow/contrib/cmake