Multiple Object Tracking or MOT estimates a bounding box and ID for each pre-defined object in videos or consecutive frames. Pose Estimation estimate keypoints on human body These two tasks, has been used in live sports, manufacturing, surveillance, and traffic monitoring. In the past, the high latency caused by the limitation of hardware and complexity of ML-based tracking algorithm is a major obstacle for its application in the industry.
This post shows how to deploy a pretrained YoloV8 model with Amazon SageMaker local mode and real-time inference endpoint.
- Create an AWS account or use the existing AWS account.
- This notebook can run on CPU or GPU instances, the default instances used are m5.xlarge EC2 instance and ml.m5.2xlarge SageMaker Endpoint instance.
- This notebook is designed to run on SageMaker Studio Domain with VPCOnly mode. Check On Boarding SageMaker Studio with VPC for more information.
- For IAM role, choose the existing IAM role or create a new IAM role, attach the policy of AmazonSageMakerFullAccess and AmazonElasticContainerRegistryPublicFullAccess to the chosen IAM role.
- If using SageMaker Studio to run this notebook, make sure prerequisites for SageMaker Studio Docker CLI extension are also satisfied.
We provide two ways of deploying the pretrained model: local mode endpoint and real time inference endpoint on SageMaker.
- To deploy the endpoints, open
inference-YoloV8.ipynb
and run the cells step by step.
See CONTRIBUTING for more information.
This library is licensed under the MIT-0 License. See the LICENSE file.