Load keras model in Java
What are the requirements to load the trained model by Keras in Java?
I checked that DeepLearning4J supports Keras models, network architecture and weights can be easily loaded. The only cons are probably that we need to use ND4J backend or it does not matter?
If there is a created model using keras and tensorflow, what is the best way to load it in Java ecosystem?
I tried to use frozen graph script to save tensorflow model, but it cannot be loaded with SavedModel.load. Loading model as a Tensor Graph object seems to be common way, but available examples in Java are chaos especially when input is an image.
Category Data Science