tobegit3hub/tensorflow_template_application

java predict client problem

dashilu1573 opened this issue · 2 comments

In DensePredictClient.java
project can't find these moduels:
import org.tensorflow.framework.DataType;
import org.tensorflow.framework.TensorProto;
import org.tensorflow.framework.TensorShapeProto;
I have involved tensorflow in pom.xml

org.tensorflow
tensorflow
1.3.0

also can't find these:
import tensorflow.serving.Model;
import tensorflow.serving.Predict;
import tensorflow.serving.PredictionServiceGrpc;

Have you run the java predict client? @laolu1573

Hi @laolu1573 , the classes of tensorflow.serving.* are generated by the maven protoc plugin. You can run the mvn clean package to generate these dependencies automatically.