Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java predict client problem #30

Open
dashilu1573 opened this issue Sep 14, 2017 · 2 comments
Open

java predict client problem #30

dashilu1573 opened this issue Sep 14, 2017 · 2 comments

Comments

@dashilu1573
Copy link

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
Copy link

Have you run the java predict client? @laolu1573

@tobegit3hub
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants