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

WDLRegression里面怎么用rest api的方式进行预测? #1

Open
lovejoy opened this issue Oct 22, 2018 · 2 comments
Open

WDLRegression里面怎么用rest api的方式进行预测? #1

lovejoy opened this issue Oct 22, 2018 · 2 comments

Comments

@lovejoy
Copy link

lovejoy commented Oct 22, 2018

能提供个request的例子不

@edvardHua
Copy link
Owner

edvardHua commented Oct 23, 2018

@lovejoy 如果要用 request 来请求的话,需要在 tf serving 上加多一层 web 框架(例如:flask)才行。例子有空我会补充上,暂时你可以参考下面这篇文章:
https://www.jiqizhixin.com/articles/tensorflow-simple-ml-serving

@lovejoy
Copy link
Author

lovejoy commented Oct 25, 2018

@edvardHua tensorflow_model_server 不是自己也启动了个rest的端口吗? 那个不能用吗?

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