4

I am currently using keras as a deep learning library on top of tensorflow. I just want to know is there any other library which is more efficient/easier than keras.

  • 2
    I believe Keras's interface is most intuitive among all of the library (my personal opinion). You may want to look at pytorch if it meets your nees. – apsdehal Nov 12 '17 at 00:50
  • 2
    When you say efficient / easier, it would be better if you could elaborate on what you are actually looking for. – Nischal Hp Nov 12 '17 at 02:37
  • @apsdehal Thank you for your suggestion. I will definitely take a look at pytorch. – Chinmay Kulkarni Nov 12 '17 at 04:43
  • @NischalHp I just want to know the alternative. It would be great if you could suggest me any library for implementing neural networks(specifically deep feedforward nets) other than keras. – Chinmay Kulkarni Nov 12 '17 at 04:48
  • There are good uses of Lasagne (it works on top of Theano) – David Dale Nov 12 '17 at 09:46
  • Could you give an example of what you find inefficient or hard to do in Keras? Otherwise, without some objective criteria on what you need, it cannot really be answered in a Stack Exchange format . . . – Neil Slater Nov 12 '17 at 10:17
  • @DavidDale Thank you for your suggestion. I would also check Lasagne. – Chinmay Kulkarni Nov 13 '17 at 05:10
  • Yes, ezcodesample.com It has multiple matching examples, same data processed by Keras and ezcodesample. – Andrew Polar Mar 06 '23 at 22:02

3 Answers3

3

I can't say which is more efficient or easier but MXNet exists, has interfaces to most languages (python, scala, R, C++, perl, Julia), and the code looks fairly similar to keras.

https://mxnet.incubator.apache.org/

Another one that I've come across is caffe, mostly because people seem to share a lot of pre-trained nets in their model zoo.

http://caffe.berkeleyvision.org/

Update: I didn't see caffe 2 but I think this is quite separate to the original caffe.

Finally I've not fully had time to check out H2O's offering in deep water which is an alternative to Keras but still sits on top of TF/MXNet/Caffe

dougmet
  • 131
  • 4
1

I reccomend pytorch. You can find good tutorials here.

Stephen Rauch
  • 1,783
  • 11
  • 22
  • 34
Federico Caccia
  • 760
  • 6
  • 18
1

Keras is a high-level API that can be used on top of TensorFlow, CNTK and Theano. You can use each of the low-level APIs but the problem of those is that you can get complicated if you design very deep nets whilst dealing with Keras is much easier. Consequently, Keras is designed for accelerating deep nets' designing. Keras is opensource like the underlying libraries it comes for and I guess its project is not for Google. TensorFlow itself has a high-level API, namely TFLearn. I cannot say which is better but the point is that try to master one of them perfectly.

It seems that plaidML Keras backend is also available which enables training on AMD graphics.

Green Falcon
  • 14,058
  • 9
  • 57
  • 98