Tensorflow model import to Java

前端 未结 3 611
梦谈多话
梦谈多话 2021-02-06 12:03

I have been trying to import and make use of my trained model (Tensorflow, Python) in Java.

I was able to save the model in Python, but encountered problems when I try t

3条回答
  •  暗喜
    暗喜 (楼主)
    2021-02-06 12:32

    Fwiw, Deeplearning4j lets you import models trained on TensorFlow with Keras 1.0 (Keras 2.0 support is on the way).

    https://deeplearning4j.org/model-import-keras

    We also built a library called Jumpy, which is a wrapper around Numpy arrays and Pyjnius that uses pointers instead of copying data, which makes it more efficient than Py4j when dealing with tensors.

    https://deeplearning4j.org/jumpy

提交回复
热议问题