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

Debugging input and output #755

Open
Deninc opened this issue Nov 11, 2019 · 0 comments
Open

Debugging input and output #755

Deninc opened this issue Nov 11, 2019 · 0 comments

Comments

@Deninc
Copy link

Deninc commented Nov 11, 2019

Dear,
I have this issue of returning empty output:
curl -X POST --header "Content-Type: application/json" --data '{"input": "1 curry rice"}' localhost:1337/pipeline/predict
{"query_id":29,"output":"","default":false}

However, when I tested inside the model container:

>>> import cloudpickle
>>> func = cloudpickle.load(open('/model/func.pkl','rb'))
>>> func(["1 curry rice"])
['Boiled egg / fried egg + rice']

Any idea how I can inspect what's the actual input that is used in runtime?

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

1 participant