Giter Site home page Giter Site logo

instance_segmentation_with_mask_rcnn's Introduction

Mask_RCNN

This also consitutes a part of my computer vision coursework taught by Georgia Gkioxari (a research scientist at Facebook) during my African Masters in Machine Intelligence (AMMI) program at AIMS Rwanda.

In this project, a nuts custom dataset was prepared and trained on an object detection library (Detectron2). The nuts dataset had 3 classes: date, fig and hazelnut, all annotated with instance masks. The dataset can be gotten here. The data contained an image directory which has the images, a train.json file that contains the train annotations in COCO format, and a val.json file that contains the val annotations in COCO format.

After preparing and registering the data, it was with trained a Mask R-CNN model with a ResNet50 feature Pyramid Network (FPN) backbone. I initialized the model with two initialization schemes: a scheme with an existing model pre-trained on the COCO dataset and a scheme with ImageNet weight. Finally, I trained for 300 iterations using a start learning rate of 0.02, 2 images per batch, and 128 regions per batch. Below are some of my visualizations I came across during the implementation of this work.

Visualization of the both predictions for CocoNet initialization (right) and ImageNet initialization (left) on the validation set

CocoNet_and_ImageNet_predictions

CocoNet Initialization AP Evaluation

COCO_initialization_AP_evaluation

ImageNet Initialization AP Evaluation ImageNet_initialization_AP_evaluation

instance_segmentation_with_mask_rcnn's People

Contributors

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