← 开源
sfzhang15

RefineDet

Single-Shot Refinement Neural Network for Object Detection, CVPR, 2018

Model DevelopmentArchitectureC++
在 GitHub 打开
增长势头
+024 小时新增 Star0.0%
1.42k
Star
383
Fork
+-1
本周
3
贡献者
创建于 2017-11-18 · 更新于 2026-10-15 · 今日第 10386 名
主要开发者

sfzhang15/RefineDet 排名第 10,386,有 1,420 个星标。

同类别比较

sfzhang15/RefineDet 排名第 10,386,此处有 8 个同类条目;BangguWu/ECANet 排名第 10,387。

同类别比较
名称排名指标
qfgaohao/pytorch-ssd10,361
语言:
Python
星标数:
1,430
分叉数:
540
简介:
MobileNetV1, MobileNetV2, VGG based SSD/SSD-lite implementation in Pytorch 1.0 / Pytorch 0.4. Out-of-box support for retraining on Open Images dataset. ONNX and Caffe2 support. Experiment Ideas like CoordConv.
OpenLMLab/MOSS-RLHF10,366
语言:
Python
星标数:
1,427
分叉数:
103
简介:
Secrets of RLHF in Large Language Models Part I: PPO
google-research/disentanglement_lib10,371
语言:
Python
星标数:
1,425
分叉数:
202
简介:
disentanglement_lib is an open-source library for research on learning disentangled representations.
torchgan/torchgan10,379
语言:
Python
星标数:
1,423
分叉数:
167
简介:
Research Framework for easy and efficient training of GANs based on Pytorch
BangguWu/ECANet10,387
语言:
Python
星标数:
1,419
分叉数:
206
简介:
Code for ECA-Net: Efficient Channel Attention for Deep Convolutional Neural Networks
instructlab/instructlab10,392
语言:
Python
星标数:
1,418
分叉数:
453
简介:
InstructLab Core package. Use this to chat with a model and execute the InstructLab workflow to train a model using custom taxonomy data.
oracle/tribuo10,394
语言:
Java
星标数:
1,418
分叉数:
196
简介:
Tribuo - A Java machine learning library
GOATmessi8/RFBNet10,398
语言:
Python
星标数:
1,416
分叉数:
348
简介:
Receptive Field Block Net for Accurate and Fast Object Detection, ECCV 2018
关键参数与规格
关键参数与规格
参数值
语言C++
类别Model Development
子类别Architecture
星标数1,420
分叉数383
贡献者3
创建日期2017-11-18
更新日期2026-10-15
1 天星标数0
7 天星标数-1
排名10,386
上次排名18,705
排名变化8,319
7 天星标排名17,166
上次 7 天星标排名17,162
7 天星标排名变化-4
总星标排名8,456
上次总星标排名8,442
总星标排名变化-14
国家China
README 摘录

Single-Shot Refinement Neural Network for Object Detection By Shifeng Zhang, Longyin Wen, Xiao Bian, Zhen Lei, Stan Z. Introduction We propose a novel single-shot based detector, called RefineDet, that achieves better accuracy than two-stage methods and maintains comparable efficiency of one-stage methods. You can use the code to train/evaluate the RefineDet method for object detection. For more details, please refer to our paper. 2 | 7 | ~6000 | ~1000 x 600 | | YOLO (GoogLeNet) | 63. 4 | 45 | 98

| 448 x 448 | | YOLOv2 (Darknet-19) | 78. 6 | 40 | 1445 | 544 x 544 | | SSD300* (VGG16) | 77. 2 | 46 | 8732 | 300 x 300 | | SSD512* (VGG16) | 79. 8 | 19 | 24564 | 512 x 512 | | RefineDet320 (VGG16) | 80. 0 | 40 | 6375 | 320 x 320 | | RefineDet512 (VGG16) | **81. 8** | 24 | 16320 | 512 x 512 | _Note: RefineDet300+ and RefineDet512+ are evaluated with the multi-scale testing strategy. The code of the multi-scale testing has also been released in this repository. _ Citing RefineDet Please cite our

paper in your publications if it helps your research: Contents 1. Please follow Caffe instruction to install all necessary packages and build it. Download fully convolutional reduced (atrous) VGGNet. By default, we assume the model is stored in . By default, we assume the model is stored in . md to download VOC2007 and VOC2012 dataset and create the LMDB file for the VOC2007 training and testing. md to download VOC2007 and VOC2012 dataset and create the LMDB file for the VOC2012

training and testing. md to download MS COCO dataset and create the LMDB file for the COCO training and testing. Train your model form COOC to VOC (Based on VGG16). Check out on how to detect objects using the RefineDet model and how to plot detection results. Models We have provided the models that are trained from different datasets. To help reproduce the results in Table 1, Table 2, Table 4, most models contain a pretrained file, many files, and

python scripts. PASCAL VOC models (VGG-16): 07+12: RefineDet320, RefineDet512 07++12: RefineDet320, RefineDet512 COCO: RefineDet320, RefineDet512 07+12+COCO: RefineDet320, RefineDet512 07++12+COCO: RefineDet320, RefineDet512 2. COCO models: trainval35k (VGG-16): RefineDet320, RefineDet512 trainval35k (ResNet101): RefineDet320, RefineDet512 _Note: If you can not download pre-trained models through the above links, you can download them through BaiduYun.

常见问题

记录了多少星标和分叉?

sfzhang15/RefineDet 有 1,420 个星标和 383 个分叉。

仓库排名是多少?

sfzhang15/RefineDet 排名第 10,386。

记录的语言和类别是什么?

sfzhang15/RefineDet 有 1,420 个星标,语言为 C++,类别为 Model Development。

哪个仓库排名最接近?

sfzhang15/RefineDet 与 BangguWu/ECANet 比较,后者排名第 10,387,有 1,419 个星标。

README

Single-Shot Refinement Neural Network for Object Detection

By Shifeng Zhang, Longyin Wen, Xiao Bian, Zhen Lei, Stan Z. Li.

Introduction

We propose a novel single-shot based detector, called RefineDet, that achieves better accuracy than two-stage methods and maintains comparable efficiency of one-stage methods. You can use the code to train/evaluate the RefineDet method for object detection. For more details, please refer to our paper.

System VOC2007 test mAP FPS (Titan X) Number of Boxes Input resolution
Faster R-CNN (VGG16) 73.2 7 ~6000 ~1000 x 600
YOLO (GoogLeNet) 63.4 45 98 448 x 448
YOLOv2 (Darknet-19) 78.6 40 1445 544 x 544
SSD300* (VGG16) 77.2 46 8732 300 x 300
SSD512* (VGG16) 79.8 19 24564 512 x 512
RefineDet320 (VGG16) 80.0 40 6375 320 x 320
RefineDet512 (VGG16) 81.8 24 16320 512 x 512

Note: RefineDet300+ and RefineDet512+ are evaluated with the multi-scale testing strategy. The code of the multi-scale testing has also been released in this repository.

Citing RefineDet

Please cite our paper in your publications if it helps your research:

@inproceedings{zhang2018single,
  title = {Single-Shot Refinement Neural Network for Object Detection},
  author = {Zhang, Shifeng and Wen, Longyin and Bian, Xiao and Lei, Zhen and Li, Stan Z.},
  booktitle = {CVPR},
  year = {2018}
}

Contents

  1. Installation
  2. Preparation
  3. Training
  4. Evaluation
  5. Models

Installation

  1. Get the code. We will call the cloned directory as $RefineDet_ROOT.
git clone https://github.com/sfzhang15/RefineDet.git
  1. Build the code. Please follow Caffe instruction to install all necessary packages and build it.
cd $RefineDet_ROOT
# Modify Makefile.config according to your Caffe installation.
# Make sure to include $RefineDet_ROOT/python to your PYTHONPATH.
cp Makefile.config.example Makefile.config
make all -j && make py

Preparation

  1. Download fully convolutional reduced (atrous) VGGNet. By default, we assume the model is stored in $RefineDet_ROOT/models/VGGNet/.

  2. Download ResNet-101. By default, we assume the model is stored in $RefineDet_ROOT/models/ResNet/.

  3. Follow the data/VOC0712/README.md to download VOC2007 and VOC2012 dataset and create the LMDB file for the VOC2007 training and testing.

  4. Follow the data/VOC0712Plus/README.md to download VOC2007 and VOC2012 dataset and create the LMDB file for the VOC2012 training and testing.

  5. Follow the data/coco/README.md to download MS COCO dataset and create the LMDB file for the COCO training and testing.

Training

  1. Train your model on PASCAL VOC.
# It will create model definition files and save snapshot models in:
#   - $RefineDet_ROOT/models/VGGNet/VOC0712{Plus}/refinedet_vgg16_{size}x{size}/
# and job file, log file, and the python script in:
#   - $RefineDet_ROOT/jobs/VGGNet/VOC0712{Plus}/refinedet_vgg16_{size}x{size}/
python examples/refinedet/VGG16_VOC2007_320.py
python examples/refinedet/VGG16_VOC2007_512.py
python examples/refinedet/VGG16_VOC2012_320.py
python examples/refinedet/VGG16_VOC2012_512.py
  1. Train your model on COCO.
# It will create model definition files and save snapshot models in:
#   - $RefineDet_ROOT/models/{Network}/coco/refinedet_{network}_{size}x{size}/
# and job file, log file, and the python script in:
#   - $RefineDet_ROOT/jobs/{Network}/coco/refinedet_{network}_{size}x{size}/
python examples/refinedet/VGG16_COCO_320.py
python examples/refinedet/VGG16_COCO_512.py
python examples/refinedet/ResNet101_COCO_320.py
python examples/refinedet/ResNet101_COCO_512.py
  1. Train your model form COOC to VOC (Based on VGG16).
# It will extract a VOC model from a pretrained COCO model.
ipython notebook convert_model_320.ipynb
ipython notebook convert_model_512.ipynb
# It will create model definition files and save snapshot models in:
#   - $RefineDet_ROOT/models/VGGNet/VOC0712{Plus}/refinedet_vgg16_{size}x{size}_ft/
# and job file, log file, and the python script in:
#   - $RefineDet_ROOT/jobs/VGGNet/VOC0712{Plus}/refinedet_vgg16_{size}x{size}_ft/
python examples/refinedet/finetune_VGG16_VOC2007_320.py
python examples/refinedet/finetune_VGG16_VOC2007_512.py
python examples/refinedet/finetune_VGG16_VOC2012_320.py
python examples/refinedet/finetune_VGG16_VOC2012_512.py

Evaluation

  1. Build the Cython modules.
cd $RefineDet_ROOT/test/lib
make -j
  1. Change the ‘self._devkit_path’ in test/lib/datasets/pascal_voc.py to yours.

  2. Change the ‘self._data_path’ in test/lib/datasets/coco.py to yours.

  3. Check out test/refinedet_demo.py on how to detect objects using the RefineDet model and how to plot detection results.

# For GPU users
python test/refinedet_demo.py
# For CPU users
python test/refinedet_demo.py --gpu_id -1
  1. Evaluate the trained models via test/refinedet_test.py.
# You can modify the parameters in refinedet_test.py for different types of evaluation:
#  - single_scale: True is single scale testing, False is multi_scale_testing.
#  - test_set: 'voc_2007_test', 'voc_2012_test', 'coco_2014_minival', 'coco_2015_test-dev'.
#  - voc_path: where the trained voc caffemodel.
#  - coco_path: where the trained voc caffemodel.
# For 'voc_2007_test' and 'coco_2014_minival', it will directly output the mAP results.
# For 'voc_2012_test' and 'coco_2015_test-dev', it will save the detections and you should submitted it to the evaluation server to get the mAP results.
python test/refinedet_test.py

Models

We have provided the models that are trained from different datasets. To help reproduce the results in Table 1, Table 2, Table 4, most models contain a pretrained .caffemodel file, many .prototxt files, and python scripts.

  1. PASCAL VOC models (VGG-16):

  2. COCO models:

Note: If you can not download pre-trained models through the above links, you can download them through BaiduYun.

排名相邻
同类项目