Hello everyone,
I exported my model and got the docker image running. However, every time I call the predict endpoint with json data, it is not able to read it.
The structure of my json data is like this:
{"instances:[{"col1":val1, "col2":val2,...},{"col1":val1,"col2":val2,...}...]}
It is converted from a pandas dataframe, and then converted to json using json.dumps or json.dump (I've tried both using it in file and exporting to an external json file)
Every time I get this error:
Traceback (most recent call last):
File "src/python/grpcio/grpc/_cython/_cygrpc/grpc_string.pyx.pxi", line 48, in grpc._cython.cygrpc._decode
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd3 in position 51: invalid continuation byte
Any idea what's going on?
Thanks,
Dylan