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

TensorFlow Serving ks generate tf-serving-service mnist-service prototype name not found #724

Closed
karlschriek opened this issue May 20, 2019 · 3 comments
Labels

Comments

@karlschriek
Copy link

karlschriek commented May 20, 2019

I am working through the following guide: https://www.kubeflow.org/docs/components/tfserving_new/

The very first step here fails (ks generate tf-serving-service mnist-service).

Firstly, if used exactly as above this will result in the following error:

ERROR finding app root from starting path: : unable to find ksonnet project

So it is necessary to first create a ks project and cd to the project folder:

ks init myproject
cd myproject
ks generate tf-serving-service mnist-service

This will then result in the following error:

ERROR no prototype names matched 'tf-serving-service' 

EDIT

I was able to overcome this issue with the following fixes:

Add the kubeflow registry in order to gain access to the necessary prototypes:

ks registry add kubeflow github.com/google/kubeflow/tree/master/kubeflow
export GITHUB_TOKEN=<my generated token> # to avoid "rate limit execeed" error. See https://github.com/ksonnet/ksonnet/blob/master/docs/troubleshooting.md
ks pkg install kubeflow/tf-serving@master # NOTE, this is tf-serving, not tf-serving-service

And then followed by ks generate tf-serving mnist-service

@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the label kind/bug to this issue, with a confidence of 0.65. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

@sarahmaddox
Copy link
Contributor

This issue is now resolved, as the guide no longer uses ksonnet.
https://www.kubeflow.org/docs/components/serving/tfserving_new/

/close

@k8s-ci-robot
Copy link
Contributor

@sarahmaddox: Closing this issue.

In response to this:

This issue is now resolved, as the guide no longer uses ksonnet.
https://www.kubeflow.org/docs/components/serving/tfserving_new/

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

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

No branches or pull requests

3 participants