Just Qustion: In Android JAVA, keras model is ok?

Hi, I’m developing android app

and my NN in python is keras(Tf.keras) with LSTM, conv2d, resnet, attention (very deep)

I want to use this NN in JAVA.android

  1. can I use TF-lite for my keras of python??

I heard TF.lite only support some TF model so I’m worried

  1. and can I convert keras to tensorflow? and just use tensorflow in JAVA?

  2. and can I convert keras to tensorflow? and just use tensorflow lite or tensorflow.mobile in JAVA?

Thx.

1 possible answer(s) on “Just Qustion: In Android JAVA, keras model is ok?

  1. @Rishit-dagli Thanks a lot, In fact, so far, I’ve been trying to port the neural network on the Android app through Pythorch Mobile.
    but now, latest pytorch and pytorch mobile are not compatible each other…;; pytorch/vision#1943
    The App is just CRUSHED WHEN THE MODEL IS LOADED and others have experienced similar things.
    I downgraded pytorch and seems its good and is compatible to pytorch.android module yet.
    I hope TF and TFmobile is more stable and compatible than pytorch_mobile and pytorch android module.

    I personally have not worked with PyTorch Mobile so I wouldn’t be able to compare them, but I have noticed that the TF Lite Android Support Library is pretty stable