REST API with images
ErikBoom
Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Registered Posts: 2 ✭
Hi all,
I've implemented a computer vision model, using https://doc.dataiku.com/dss/latest/machine-learning/deep-learning/images.html to guide me with processing of images.
This model is deployed on an API node, to be used as a REST API.
When making a request, I only provide an image (in base64 string representation) to be processed as payload. With this, I get multiple different errors, all pointing towards not providing enough information (tuple index out of range, and alike).
What should the payload of an API call for prediction look like, with regards to images?
Thanks in advance for the help!
Operating system used: Linux (RHEL8)
Tagged:
Best Answer
-
Fixed. The issue was the name of the variable in the JSON body.