robeson1010 / mmdetection

Open MMLab Detection Toolbox

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rice detection based Faster-Rcnn

Introduction

A experiment that test Cascade Faster-Rcnn performance on Drone image. The model was based on mmdetection.

weigut(https://s3-ap-northeast-1.amazonaws.com/robdisk/latest.pth)

mmdetection is an open source object detection toolbox based on PyTorch. It is a part of the open-mmlab project developed by Multimedia Laboratory, CUHK.

  1. Augmentation

Albu aug library

        self.light=A.Compose([A.RGBShift(),A.InvertImg(),
            A.Blur(),
            A.GaussNoise(),
            A.Flip(),
            A.RandomRotate90()], bbox_params={'format':'pascal_voc','min_visibility': 0.4, 'label_fields': ['category_id']}, p=1)

Model config

dict(
    imgs_per_gpu=2,
    workers_per_gpu=2,
    train=dict(
        type=dataset_type,
        ann_file=data_root + 'annotations.pkl',
        img_prefix=data_root + 'train/',
        img_scale=[(384, 768), (768, 768)],
        img_norm_cfg=img_norm_cfg,
        size_divisor=32,
        flip_ratio=0,
        with_mask=False,
        with_crowd=True,
        with_label=True))

Result

Train a model

1

2

3

Citation

If you use our codebase or models in your research, please cite this project. We will release a paper or technical report later.

@misc{mmdetection2018,
  author =       {Kai Chen and Jiangmiao Pang and Jiaqi Wang and Yu Xiong and Xiaoxiao Li
                  and Shuyang Sun and Wansen Feng and Ziwei Liu and Jianping Shi and
                  Wanli Ouyang and Chen Change Loy and Dahua Lin},
  title =        {mmdetection},
  howpublished = {\url{https://github.com/open-mmlab/mmdetection}},
  year =         {2018}
}

origin/master

About

Open MMLab Detection Toolbox

License:Apache License 2.0


Languages

Language:Jupyter Notebook 96.0%Language:Python 3.7%Language:Cuda 0.2%Language:C++ 0.1%Language:Shell 0.0%Language:Makefile 0.0%