4
hexc
7y

Anyone know of any GPU accelerated Machine Learning libraries that DON'T need Python, something maybe using C/C++, C# or Java?

Comments
  • 1
    I thought tensorflow had a c++ version?
  • 4
    Well there is TensorFlow.js
    (previously deeplearn.js)

    now lets see the world burn:
    * its like java *
  • 0
    @WIPocket it was my understanding that even with tf.js you had to train the model with python, and that the JS side was just for infrincing with a pre trained model. (Regardless though I also hate JS lol but I guess it's the lesser of two evils when Python is concerned (no instillation and what not))
  • 0
    @Dacexi all the setup tutorials had you installing python for building / training models, maybe it's changed now, I'll have another look at it.
  • 0
    @hexc deeplearnjs.com (redirects to js.tensorflow.org)
  • 0
  • 0
    Tensorflow has a C or C++ version if I'm not mistaken
  • 0
    Tensorflow was made in c++ if I'm not mistaking. The python version is only a binding.
  • 0
    @olback I'll have to look at it again, I had dismissed it back when they only had docs for python, but if they have proper support for c++ with documentation, ill probably go that route
  • 0
  • 0
    I have had pleasant experience with Deeplearning4j. They also have compiled versions for Android. From what I can tell, it looks quite good to use and they have an active community.
  • 0
    PyTorch allows access to ATen. It’s their C++ interface used for their Python libraries.

    AFAIK, it’s more efficient than the Python implementation but the API is a bit unstable. Hope that helps.
Add Comment