We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi @kamalkraj , Nice work , but one thing while using the api.py and curl to get the prediction i got error float32 is not json serializable.
float32 is not json serializable
The text was updated successfully, but these errors were encountered:
I solved that by changing the line 16 in api.py
from this:
`return`` jsonify({"result":out})`
to this:
`return jsonify({"result":str(out)})`
Hope it will help you.
Sorry, something went wrong.
Hi @alexkohan ,
Nice , But already there is one pull request is open for this . and wrapping the output in str will not give proper json I believe.
No branches or pull requests
Hi @kamalkraj , Nice work , but one thing while using the api.py and curl to get the prediction i got error
float32 is not json serializable
.The text was updated successfully, but these errors were encountered: