Skip to content
New issue

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

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

Already on GitHub? # to your account

How can I train my model #3

Open
itcuihao opened this issue Aug 19, 2021 · 1 comment
Open

How can I train my model #3

itcuihao opened this issue Aug 19, 2021 · 1 comment

Comments

@itcuihao
Copy link

Hi, i want to learn this process, How can I train my model?

@itcuihao
Copy link
Author

Hi, I successfully started using http, how can I access it?

success:

2021-08-20 06:22:45.227694: I tensorflow_serving/core/loader_harness.cc:86] Successfully loaded servable version {name: ch_test1 version: 1555528919}
2021-08-20 06:22:45.232981: I tensorflow_serving/model_servers/server.cc:285] Running gRPC ModelServer at 0.0.0.0:9001 ...
[warn] getaddrinfo: address family for nodename not supported
2021-08-20 06:22:45.239809: I tensorflow_serving/model_servers/server.cc:301] Exporting HTTP/REST API at:localhost:9002 ...
[evhttp_server.cc : 235] RAW: Entering the event loop ...
curl --location --request POST 'http://localhost:9002/v1/models/ch_test1:predict' \
--header 'Content-Type: text/plain' \
--data-raw '{
    "title":"hello hncynic"
}'

response:
{
    "error": "Missing \'inputs\' or \'instances\' key"
}

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

No branches or pull requests

1 participant