Giter VIP home page Giter VIP logo

salience-biased-reduced-focal-loss-cv703-final-project-'s Introduction

Salience-Biased-Reduced-Focal-Loss-CV703-final-project

This project has been done as a final project for CV703 - Visual Object Recognition and Detection at MBZUAI. The project is about proposing a Salience Biased Reduced Focal Loss (SBRF) which helps in increasing the contributions of well-classified samples to overcome the issue of class imbalanced in aerial images datasets. Our work is based on:

  1. Detectron2.
  2. REDUCED FOCAL LOSS: 1st PLACE SOLUTION TO XVIEW OBJECT DETECTION IN SATELLITE IMAGERY (https://arxiv.org/pdf/1903.01347.pdf).
  3. Salience Biased Loss for Object Detection in Aerial Images (https://arxiv.org/pdf/1810.08103.pdf).

Detectron2

Follow instructios to install Detectron2 from (https://detectron2.readthedocs.io/en/latest/tutorials/install.html)

Dataset

Download iSAID from

Training

Our modifications were on these files in the Detectron2 directory. Follow these steps to start tranining:

  1. Generate Saliency map : sal_map/Generating_sal_maps.ipynb
  2. Add loss function: detectron2/detectron2/modeling/proposal_generator/reduced_focal_loss.py
  3. Replace the RPN script with our file: detectron2/detectron2/modeling/proposal_generator/rpn.py
  4. Replace (class SimpleTrainer(TrainerBase)) with our in detectron2/detectron2/engine/train_loop.py

salience-biased-reduced-focal-loss-cv703-final-project-'s People

Contributors

wafaalghallabi avatar fa-ti-ma 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.