Coder Social home page Coder Social logo

retinanet-resnet50's Introduction

Deprecation notice

This repo has been merged with upstream MLCommons benchmark here: https://github.com/mlcommons/training


Retinanet-ResNet50

This is an experimental repository that is based on torchvision's RetinaNet and is used to test and evaluate the model as the new object detection benchmark for MLPerf training and inference.

Torchvision RetinaNet

MLPerf-SSD

MLCommons

Usage instructions

This README is a WIP. The build and run scripts and instructions will be improved in the coming weeks

Download the dataset

If necessary, Download MS-COCO dataset

./scripts/download_dataset.sh

Build the container

build and launch the container:

./scripts/docker/build.sh

You will want to change target_docker_image in ./scripts/docker/config.sh

Local training / Single node training

Run the built container

./scripts/docker/launch_local.sh

In addition to changing target_docker_image in ./scripts/docker/config.sh, you'll also want to change the dataset and results paths in the script.

To train the model, use any of the training scripts in scripts/train

SLURM

The repository includes template scripts to train the model on a SLURM cluster. This training method can be used for both single-node and multi-node.

Your SLURM cluster will need to be prepared with:

After you built your image, submit a SLURM job with:

./scripts/launchers/selene.sh -c <config_name> -d <continaer_name>

You will want to change:

  • --account in ./scripts/launchers/slurm.sh
  • --partition ./scripts/launchers/slurm.sh
  • --job-name ./scripts/launchers/slurm.sh
  • COCO_FOLDER in ./scripts/launchers/srun.sh

retinanet-resnet50's People

Contributors

ahmadki avatar

Stargazers

 avatar

Watchers

 avatar  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.