tensorflow_template_application icon indicating copy to clipboard operation
tensorflow_template_application copied to clipboard

java predict client problem

Open dashilu1573 opened this issue 8 years ago • 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 <groupId>org.tensorflow</groupId> <artifactId>tensorflow</artifactId> 1.3.0 also can't find these: import tensorflow.serving.Model; import tensorflow.serving.Predict; import tensorflow.serving.PredictionServiceGrpc;

dashilu1573 avatar Sep 14 '17 03:09 dashilu1573

Have you run the java predict client? @laolu1573

sailor88128 avatar Nov 22 '17 08:11 sailor88128

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.

tobegit3hub avatar Nov 22 '17 12:11 tobegit3hub