-
Notifications
You must be signed in to change notification settings - Fork 651
Description
Bug Report
If the model conversion is failing for a tutorial in this repo, report the bug here. However, if the bug is related to general model conversion, please go to the appropriate converter repo.
Describe the bug
Please describe the bug clearly and concisely.
I created a custom ONNX model called ONNX.model. (https://www.dropbox.com/s/23tkd88bzeqk3uy/model.tar?dl=0)
I wish to run it on the onnxruntime server, and then show it a picture kitten.jpg , like in this example that was a juypter notebook (https://github.com/onnx/tutorials/blob/master/tutorials/OnnxRuntimeServerSSDModel.ipynb)
sudo docker run -it -v
curl -O https://s3.amazonaws.com/model-server/inputs/kitten.jpg
curl -X POST http://127.0.0.1:9001/v1/models/default/versions/1:predict/model -T kitten.jpg
This is the error message that I get back from the REST POST of the kitten picture.
{"error_code": 400, "error_message": "Missing or unknown 'Content-Type' header field in the request"}
What am I missing for the model hosting with ONNX Runtime Server ?