资源算法RetinaNet-mxnet

RetinaNet-mxnet

2020-02-18 | |  43 |   0 |   0

RetinaNet-mxnet

Adapted from SSD implemented by zhreshold, the results still need to be tuned. Currently we use the PASCAL VOC mAP metric which measures under IoU threshold 0.5, not the COCO AP metric.

Demo Results

图片.png

图片.png

Differences from SSD

  • We build FPN (P3 to P7) to replace the "multi_layer_feature" function;

  • We build cls_subnet and bbox_subnet in the "multibox_layer" function, and the bias is initialized according to the Focal Loss paper (only for FL strategy

    );

  • We use the anchor setting in the focal loss paper which is tested on COCO, but the best setting for PASCAL VOC still needs to be tuned;

  • We adopt the focal loss operator by eldercrow;

  • We support converting COCO2017 data to rec format for training and validation.

Usage

  • Download COCO2017 data and annotations;

  • Run tools/prepare_coco.sh to pack into rec format, after configuring your own paths;

  • Run train-COCO2017.sh after configuring your own paths and hyperparamters.

For PASCAL VOC and more details, one can generally refer to SSD implemented by zhreshold.

Environment

Tested on Ubuntu 16.04, python3.5, mxnet 1.1.0

Numpy, cv2 and matplotlib are required.

mAP result

BackboneTraining dataVal dataStrategymAPNote
ResNet-50 512x512VOC07+12 trainvalVOC07 testOHEM76.0sgd, lr0.01
ResNet-50 512x512VOC07+12 trainvalVOC07 testFL75.4sgd, lr0.01
ResNet-50 512x512COCO2017 trainCOCO2017 valOHEM40.2sgd, lr0.01
ResNet-50 512x512COCO2017 trainCOCO2017 valFL40.9sgd, lr0.01

Baseline Faster RCNN

BackboneTraining dataVal datamAPNote
ResNet-50 600VOC07+12 trainvalVOC07 test74.8sgd, lr0.001
ResNet-50 600COCO2017 trainCOCO2017 val37.9sgd, lr0.003


上一篇: retinanet_detection

下一篇:tf-retinanet

用户评价
全部评价

热门资源

  • seetafaceJNI

    项目介绍 基于中科院seetaface2进行封装的JAVA...

  • spark-corenlp

    This package wraps Stanford CoreNLP annotators ...

  • Keras-ResNeXt

    Keras ResNeXt Implementation of ResNeXt models...

  • capsnet-with-caps...

    CapsNet with capsule-wise convolution Project ...

  • shih-styletransfer

    shih-styletransfer Code from Style Transfer ...