Skip to content

Mask R-CNN for object detection and instance segmentation on Keras and TensorFlow

License

Notifications You must be signed in to change notification settings

connorhough/Mask_RCNN

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

Mask R-CNN is a cutting-edge deep learning model designed for computer vision tasks, developed by Facebook's AI group. It excels in semantic segmentation tasks, which include object recognition and pixel-level labeling. Matterport has provided an implementation of this model on their GitHub page. The provided code is compatible with the MS Coco dataset—a benchmark dataset for semantic segmentation—right out of the gate, and is designed for easy adaptability to other datasets or image segmentation tasks.

Instance Segmentation Sample

This repository is a fork of the matterport/mask_rcnn repo, enhanced to integrate with Weights and Biases (wandb). wandb is a cloud-based interface designed for tracking model parameters and performance, facilitating collaborative efforts among machine learning teams. The results of our model runs can be found here. For an in-depth discussion on our process and findings, refer to our blog post.

Setup

We've streamlined the setup procedure of the original repository to ensure a swift installation on the tensorflow_p36 environment of AWS Deep Learning AMI (Ubuntu) Version 10.0. To get started, initiate an instance with a minimum of 100 GB storage, SSH into it, and execute the following steps:

  1. source activate tensorflow_p36
  2. git clone https://github.com/connorhough/mask_rcnn
  3. cd mask_rcnn
  4. pip install cython
  5. pip install -r requirements.txt
  6. pip install tensorflow-gpu==1.7.0
  7. python setup.py install
  8. Execute wandb init, then follow the on-screen instructions
  9. Run wandb run samples/coco/coco.py train --model=imagenet --dataset=../coco --download=True

For subsequent runs, use the above command without the --download=True argument.

To execute a parameter sweep, run ./sweep.sh.

About

Mask R-CNN for object detection and instance segmentation on Keras and TensorFlow

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.5%
  • Shell 0.5%