Menu

1 / 4

Benchmarking Batch YOLO Object Detection on AWS

DEV Community: aws·Jose·16 days ago
#e2AYgZny
#devtoaws#devto#dev#workers#g4dn
Long article (644 words) — no AI summary yet.
Reading 0:00
15s threshold

Overview

This is my first step into the Computer Vision MLOps Engineering field. I wanted to explore an MLOps subject that I might see as a senior Computer Vision or MLOps engineer:

Process a large set of images from COCO 2017 validation set(5000 images) as cheaply and quickly as possible on AWS. Images land in S3, queue up in SQS, and workers on ECS run them through YOLOv8m in batches, writing results to S3 and DynamoDB. The project is about throughput, cost and reliability for bulk work, not per-request latency.

Source Code

Github Repo

Goals

Find the best batch size: the batch size on a T4 GPU (g4dn.xlarge) that gives the most images per second and the lowest cost per 1,000 images, and the point where bigger batches stop helping.

Quantify GPU vs.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.