News for hackers. Stuff that matters.
Re:TensorFlow, Keras and deep learning, without a PhD by secondcoming on Friday July 17, 2020 @07:24AM (#23869396)
It's a pity that most Tensorflow tutorials out there seem to deal with images. We tried to use it for real-time data classification (data -> [yes | no]). Every tuturial out there seems to assume you're using Python (which is probably not an invalid assumption). Here's my 2c when trying to use Tensorflow with C++:

a) Loading SavedModels is a pain. I has to trawl the Tensorflow repo and Python wrappers to see how it worked.

b) It's incredibly slow. It added ~250ms to our latency. We had to drop it.

c) It has a C++ framework that doesn't work out-of-the-box, you have to use the C lib that wraps an old version of the C++ framework (confused? me too).

d) It's locked to C++03.

Tensorflow-Lite looked to fit the bill for us, but our model weren't convertible to it. We no longer use Tensorflow.

Re:TensorFlow, Keras and deep learning, without a PhD by osipov on Friday July 17, 2020 @08:34AM (#23869808)
I don't understand why you are getting downvoted. TensorFlow 1.x barely worked and people stuck with it because the alternatives were worse. I moved to PyTorch as soon as I could because it is better than TensorFlow 1.x, TensorFlow 2.x, or Keras w/TensorFlow backend.

TensorFlow is designed by committee and is more of a brand now than a machine learning framework. Did you know there is TensorFlow Quantum?

Re:TensorFlow, Keras and deep learning, without a PhD by deadliftpro on Friday July 17, 2020 @06:22PM (#23876666)
There were alternatives. IMO, Microsoft Cntk being one which was better than tensorflow. Tensorflow 'won' because of herd mentality and the perception that everything google does is cool.
Re:TensorFlow, Keras and deep learning, without a PhD by lostmsu on Friday July 17, 2020 @06:52PM (#23876954)
I am using Python's TensorFlow API from C# through my own binding, and I don't understand how you got 250ms latency on C API without screwing up on your side. I could effortlessly run a super real-time network playing a video game with soft actor-critic with my setup on 1.15.
Re:TensorFlow, Keras and deep learning, without a PhD by secondcoming on Saturday July 18, 2020 @11:16AM (#23881937)
We didn't understand either. One thing, our cloud instances had no GPU's. Our model wasn't exactly complex, just maybe 15 float and string scalar inputs.