You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seems SeldonClient is not able to encode tuples when they are passed in through json_data parameter. It is also unclear how to make use of the str_data and data input parameters (those could use documentation).
$ python ~/seldon_example1.py
Exception thrown: Invalid JSON: Unexpected type for Value message.
Response with example2: shape: 1
values: 0.006200790667543826
The text was updated successfully, but these errors were encountered:
How could it be? JSON is a string serialization of an object. Isn't the whole point of the json_data parameter to give it a Python object that needs to be serialized into a string? Or is the expected payload here already JSON-serialized? I don't think the latter works...
Seems SeldonClient is not able to encode tuples when they are passed in through json_data parameter. It is also unclear how to make use of the str_data and data input parameters (those could use documentation).
Small example:
Output from that is:
The text was updated successfully, but these errors were encountered: