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

how to delpoy a model in hdfs #49

Open
Lihengwannafly opened this issue Apr 29, 2019 · 6 comments
Open

how to delpoy a model in hdfs #49

Lihengwannafly opened this issue Apr 29, 2019 · 6 comments

Comments

@Lihengwannafly
Copy link

No description provided.

@tobegit3hub
Copy link
Owner

Thanks for reporting. You can pass the model path as the specified HDFS path.

We may add more detailed document about this soon.

@Lihengwannafly
Copy link
Author

Thanks for reporting. You can pass the model path as the specified HDFS path.

We may add more detailed document about this soon.

simple_tensorflow_serving --model_base_path="hdfs://GZGD/171587/1/model/NeuralCF/base-model-output" --model_platform="tensorflow"
I deploy the above command, but this error occurs: tensorflow.python.framework.errors_impl.NotFoundError: Could not find directory.

@tobegit3hub
Copy link
Owner

Could you please post the files in this HDFS directory? Try with hadoop dfs -ls hdfs://GZGD/171587/1/model/NeuralCF/base-model-output.

We have to make sure that the output path is the SavedModel files with the model version.

@Lihengwannafly
Copy link
Author

Could you please post the files in this HDFS directory? Try with hadoop dfs -ls hdfs://GZGD/171587/1/model/NeuralCF/base-model-output.

We have to make sure that the output path is the SavedModel files with the model version.

image
the image is the screenshots of the hdfs path

@tobegit3hub
Copy link
Owner

So the 1551684206 is the model version, right? And are there saved_model.pb and variables in these directories of the versions?

@Lihengwannafly
Copy link
Author

So the 1551684206 is the model version, right? And are there saved_model.pb and variables in these directories of the versions?

yes, of course. By the way, I used pip to install the tool, should I switch to use docker to install latest-hdfs.
image

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

2 participants