Survey banner
The Dataiku Community is moving to a new home! Some short term disruption starting next week: LEARN MORE

REST API with images

Solved!
ErikBoom
Level 1
REST API with images

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)

0 Kudos
1 Solution
ErikBoom
Level 1
Author

Fixed. The issue was the name of the variable in the JSON body.

View solution in original post

0 Kudos
1 Reply
ErikBoom
Level 1
Author

Fixed. The issue was the name of the variable in the JSON body.

0 Kudos