Hi @philschmid,
Here is the CloudWatch log response.
"message": "cannot identify image file \u003c_io.BytesIO object at 0x7f3d783d4a40\u003e"
2023-02-21T15:46:24,565 [INFO ] W-EdBianchi__vit-fire-detec-4-stdout com.amazonaws.ml.mms.wlm.WorkerLifeCycle - mms.service.PredictionException: an integer is required (got type str) : 400