java predict client problem
dashilu1573 opened this issue · 2 comments
dashilu1573 commented
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;
sailor88128 commented
Have you run the java predict client? @laolu1573
tobegit3hub commented
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.