How to Use a Flask-Based YOLOv5 Model Repository with ECR and AWS App Runner

This article introduces an example of building an object detection API using AWS App Runner and YOLOv5. Amazon ECR I registered the following repository, which publishes a YOLOv5 model using Flask, to the Amazon ECR (Elastic Container Registry) public registry. https://github.com/robmarkcole/yolov5-flask https://gallery.ecr.aws/b8m8i5m3/yolov5-flask I made some modifications to the source code from the original repository. The forked repository is here: https://github.com/ldasjp8/yolov5-flask Below, I will explain how to use this image with App Runner as an example. ...

March 21, 2022 · 1 min · Nakamura

Health Check on Port Issue When Using AWS App Runner + ECR

When using ECR as the source in AWS App Runner, the following Health check on port “XXXX” error occurred. 0 3 - 2 0 - 2 0 2 2 0 7 : 1 8 : 5 2 A M [ A p p R u n n e r ] H e a l t h c h e c k o n p o r t ' 3 0 0 0 ' f a i l e d . S e r v i c e i s r o l l i n g b a c k . C h e c k y o u r c o n f i g u r e d p o r t n u m b e r . F o r m o r e i n f o r m a t i o n , r e a d t h e a p p l i c a t i o n l o g s . ...

March 20, 2022 · 2 min · Nakamura