Tensorflow Java API - sophisticated example
I have already asked the question as a github issue, but was redirected to here. I have seen the example for importing model created and trained in Python imported into Java code and used for predictions. However, I had some problems understanding what was actually going on especially in this block and the GraphBuilder class declaration between lines 156-207. Could someone please give some explanation for them?
Moreover, I know the Java API is still under construction. However, I would be interested in if it is possible to see some more sophisticated examples, if it is possible including:
importing model into Java and then performing training on the model
implementing, training, evaluating, saving, loading a model from scratch in Java with Tensorflow
Does anyone have such an example, and willing to share it?
Thank you for any help!
Cheers,
Peter
Copyright License: Author:「szi」,Reproduced under the CC 4.0 BY-SA copyright license with link to original source & disclaimer. Link to:https://stackoverflow.com/questions/43489416/tensorflow-java-api-sophisticated-example
About “Tensorflow Java API - sophisticated example” questions
I have already asked the question as a github issue, but was redirected to here. I have seen the example for importing model created and trained in Python imported into Java code and used for predi...
|
Trying to convert some python tensorflow code to java, I can't find the same java API for train.example.SerializeToString in python. It is surely not java toString. I can find the java Example clas...
|
Trying to convert some python tensorflow code to java, I can't find the same java API for train.example.SerializeToString in python. It is surely not java toString. I can find the java Example clas...
|
Background: I am new to Tensorflow and AI and wish to try out Tensorflow in a Java based environment. Found Tensorflow has a Java API and tried it out but results don't seem to be similar to my Pyt...
|
I was trying to configure Tensorflow API for java in windows.
As per the read me
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/java/README.md
It says we have to build the native
|
I am using the Tensorflow Java Api to load an already created Tensorflow model into the JVM.
I am using this as an example: tensorflow/examples/LabelImage.java
Here is my simple scala code:
impor...
|
Does any one know of high level api if exist in java for directly reading tfrecords and feeding to a tensorflow savedModel . Python api allows both example.proto (tfrecords) and tensors to be fed t...
|
Theres not that much information given in the TensorFlow documentation:
https://www.tensorflow.org/api_docs/python/tf/train/Example
https://www.tensorflow.org/api_docs/python/tf/train/SequenceExamp...
|
I'm trying to run Tensorflow in Android, using Tensorflow's Java API. I'm wondering how to set the Session config when creating a Session object.
In the Python API, you can do this by using the "c...
|
What's the best way to classify batch of images using TensorFlow java API? I also want the capability to resize the image in GPU so that all the images in the batch are of same dimension.
The only
|
|
|