This is an image classificatier server which can take any exported Keras AI model and expose it through an HTTP API.
Endpoint | Method | body/query | Description |
---|---|---|---|
/predict | POST | Image as 'image' field of multipart/form-data | Get model inference on the image |
/model | POST | .zip or .onnx of model export as 'model' field of multipart/form-data | Upload a new model |
docker run -p 8080:80 public.ecr.aws/jtekt-corporation/image-classifier-server:cpu-0642ccce
FROM public.ecr.aws/jtekt-corporation/image-classifier-server:cpu-0642ccce
COPY path-to-your-model ./model
uvicorn main:app --reload --port 7071 --host 0.0.0.0