I think that many of you know the Keras library, which runs on top of Tensorflow. Tensorflow itself has stable C API, and therefore there are several high-level deep learning frameworks in other languages inspired by Keras, such as TFJS, Keras.NET, Tensorflow in Go.
Today I want to introduce you to a Keras-like machine learning framework written in Kotlin.
Currently, the KotlinDL framework can boast that this is the only way to construct and train complex neural networks on JVM, such as VGG, ResNet, or MobileNet. There is also support for transfer learning for the popular models trained in Keras (or available in Keras. applications).
For image preprocessing, several functions are available that allow you to avoid complex and routine work on the JVM.
Finally, I’ll show you how you can build, train, and use a convolutional neural network (CNN) entirely in Kotlin with the help of KotlinDL, and we discuss how to use KotlinDL models in production.