Giter VIP home page Giter VIP logo

sagemaker-object-detection's Introduction

Object Detection with SageMaker

This repository contains a Jupyter Notebook that demonstrates how to build, train, and deploy an object detection model using AWS SageMaker. The model is trained to identify and locate dogs and cats in images.

Overview

The notebook is structured as follows:

  1. Downloading the Data: This section deals with downloading the necessary dataset. The dataset used is from Oxford-IIIT Pet Dataset, which contains images of cats and dogs along with the annotations in XML format.

  2. Extracting Annotations from XML Format: Here, the XML annotations are parsed and converted into a more accessible format.

  3. Visualize Data: A function is provided to visualize the data along with the annotations to ensure that the data is correctly formatted.

  4. SageMaker Setup: This section is for setting up SageMaker, defining the roles and permissions, and identifying the training image.

  5. Preparing Data for SageMaker: The data is organized into the necessary format for training with SageMaker.

  6. Uploading Data to S3: The formatted data is uploaded to an S3 bucket for use in training.

  7. SageMaker Estimator: A SageMaker estimator is created with the necessary configurations for training.

  8. Hyperparameters: The hyperparameters for the training job are defined.

  9. Data Channels: The data channels for training and validation data are defined.

  10. Model Training: (This section is left blank in the notebook)

  11. Deploy Model: (This section is left blank in the notebook)

  12. Predictions: A demonstration of how to make predictions with the trained model.

  13. Cleanup: Instructions for deleting the endpoint to stop incurring costs.

Requirements

  • AWS Account
  • SageMaker Instance
  • IAM Role with necessary permissions (SageMaker execution role)
  • S3 Bucket

Usage

  1. Clone this repository to your local machine or SageMaker instance.
  2. Open the Jupyter Notebook.
  3. Follow along with the cells in the notebook to train and deploy your object detection model.

Dataset

The dataset used is the Oxford-IIIT Pet Dataset.

Contributing

If you have any improvements or issues to report, feel free to open an issue or make a pull request.

sagemaker-object-detection's People

Contributors

jjinhongg avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.