ErlichBachman
ErlichBachman

Reputation: 137

Java API for loading TensorFlow models created in python

I am using Java 13 (I'm not sure if that is relevant) and I'm making a blackjack game. I want to add a neural network model after training it in python to my Java application. However, on here it says

"Note: There is no libtensorflow support for TensorFlow 2 yet."

I haven't even started making my model so I have not tried to load a model into Java. Is this going to be a problem? Do I need to use an older version of TensorFlow?

Upvotes: 1

Views: 335

Answers (1)

Karl Lessard
Karl Lessard

Reputation: 491

If you do not want to convert your model to TF Lite, you can also use the snapshots available for TensorFlow Java with 2.x support enabled, check this repository.

Upvotes: 1

Related Questions