All Projects → WalterMa → gluon-faster-rcnn

WalterMa / gluon-faster-rcnn

Licence: MIT license
Faster R-CNN implementation with MXNet Gluon API

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to gluon-faster-rcnn

Gluonrank
Ranking made easy
Stars: ✭ 39 (+25.81%)
Mutual labels:  mxnet, gluon
Imgclsmob
Sandbox for training deep learning networks
Stars: ✭ 2,405 (+7658.06%)
Mutual labels:  mxnet, gluon
Quantization.mxnet
Simulate quantization and quantization aware training for MXNet-Gluon models.
Stars: ✭ 42 (+35.48%)
Mutual labels:  mxnet, gluon
Gluon Nlp
NLP made easy
Stars: ✭ 2,344 (+7461.29%)
Mutual labels:  mxnet, gluon
Mxnet Gluon Style Transfer
Neural Style and MSG-Net
Stars: ✭ 105 (+238.71%)
Mutual labels:  mxnet, gluon
Efficientnet
Gluon implementation of EfficientNet and EfficientNet-lite
Stars: ✭ 30 (-3.23%)
Mutual labels:  mxnet, gluon
Ko en neural machine translation
Korean English NMT(Neural Machine Translation) with Gluon
Stars: ✭ 55 (+77.42%)
Mutual labels:  mxnet, gluon
Autogluon
AutoGluon: AutoML for Text, Image, and Tabular Data
Stars: ✭ 3,920 (+12545.16%)
Mutual labels:  mxnet, gluon
Mxnet Im2rec tutorial
this simple tutorial will introduce how to use im2rec for mx.image.ImageIter , ImageDetIter and how to use im2rec for COCO DataSet
Stars: ✭ 97 (+212.9%)
Mutual labels:  mxnet, gluon
Mxnet Gluon Syncbn
MXNet Gluon Synchronized Batch Normalization Preview
Stars: ✭ 78 (+151.61%)
Mutual labels:  mxnet, gluon
Mxnet Centernet
Gluon implementation of "Objects as Points", aka "CenterNet"
Stars: ✭ 29 (-6.45%)
Mutual labels:  mxnet, gluon
Mxnet.sharp
.NET Standard bindings for Apache MxNet with Imperative, Symbolic and Gluon Interface for developing, training and deploying Machine Learning models in C#. https://mxnet.tech-quantum.com/
Stars: ✭ 134 (+332.26%)
Mutual labels:  mxnet, gluon
Aws Machine Learning University Accelerated Tab
Machine Learning University: Accelerated Tabular Data Class
Stars: ✭ 718 (+2216.13%)
Mutual labels:  mxnet, gluon
Sockeye
Sequence-to-sequence framework with a focus on Neural Machine Translation based on Apache MXNet
Stars: ✭ 990 (+3093.55%)
Mutual labels:  mxnet, gluon
Gluon Cv
Gluon CV Toolkit
Stars: ✭ 5,001 (+16032.26%)
Mutual labels:  mxnet, gluon
Aws Machine Learning University Accelerated Cv
Machine Learning University: Accelerated Computer Vision Class
Stars: ✭ 1,068 (+3345.16%)
Mutual labels:  mxnet, gluon
gpu accelerated forecasting modeltime gluonts
GPU-Accelerated Deep Learning for Time Series using Modeltime GluonTS (Learning Lab 53). Event sponsors: Saturn Cloud, NVIDIA, & Business Science.
Stars: ✭ 20 (-35.48%)
Mutual labels:  mxnet, gluon
Gluon Face
An unofficial Gluon FR Toolkit for face recognition. https://gluon-face.readthedocs.io
Stars: ✭ 264 (+751.61%)
Mutual labels:  mxnet, gluon
Gluon2pytorch
Gluon to PyTorch deep neural network model converter
Stars: ✭ 70 (+125.81%)
Mutual labels:  mxnet, gluon
Aws Machine Learning University Accelerated Nlp
Machine Learning University: Accelerated Natural Language Processing Class
Stars: ✭ 1,695 (+5367.74%)
Mutual labels:  mxnet, gluon

Faster R-CNN Implementation with MXNet Gluon API

This repo re-implements Faster R-CNN fully on MXNet Gluon API, which supports batch size larger than one and Multi-GPU training. You can use the code to train/validate/test for object detection task.

Features

  • RPN, Fast R-CNN, Faster R-CNN with VGG16 model
  • Inference and prediction in hybridize mode
  • Multi-GPU and lager batch size support
  • End to end training/validating/testing
  • Alternate training/validating/testing

More functions are in developing...

Requirements

Note: This repo depends on MXNet version 1.2.1+, due to MXNet Symbol and Gluon Proposal API are inconsistent in previous version.

This repo requires Python3 with the following packages:

mxnet
tqdm
EasyDict
matplotlib
opencv-python

You may also need a GPU with at least 8GB memory for training.

Installation

  1. Install all required packages in python3.
  2. Clone the Gluon Faster R-CNN repository.
    git clone https://github.com/WalterMa/gluon-faster-rcnn
    cd gluon-faster-rcnn

Try the Demo

  1. Download pre-trained model parameters from release. Then extract it to ./model directory.
  2. Run demo_faster_rcnn.py.
    python ./demo_faster_rcnn.py

Train & Testing Faster R-CNN

Currently, this repo only support voc2007/2012 dataset. But you could easily modify or create your own dataset by reference Gluon-CV dataset code, or generate and using record dataset.

Note: Record Dataset is only available in num_workers=0, due to MXNet issue.

  1. We need the following three files from Pascal VOC:

    Filename Size SHA-1
    VOCtrainval_06-Nov-2007.tar 439 MB 34ed68851bce2a36e2a223fa52c661d592c66b3c
    VOCtest_06-Nov-2007.tar 430 MB 41a8d6e12baa5ab18ee7f8f8029b9e11805b4ef1
    VOCtrainval_11-May-2012.tar 1.9 GB 4e443f8a2eca6b1dac8a6c57641b67dd40621a49
  2. Download and extract voc dataset to ./data/VOCdevkit/, or you need to specify dataset path in .utils/config.py or related python scripts.

  3. Start e2e training and validating:

    python ./train_faster_rcnn.py

Experiments

Method Network Training Data Testing Data Reference Result
Faster R-CNN end-to-end VGG16 VOC07+12 VOC07test 73.2 -

Disclaimer

This is a re-implementation of original Faster R-CNN which is based on caffe. The arXiv paper is available here.

This repository used code from MXNet, Faster R-CNN, MX R-CNN, MXNet SSD, Gluon CV.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].