← Open Source
Tencent

ObjectDetection-OneStageDet

Tencent/ObjectDetection-OneStageDet on GitHub: Python, Models, Vision models, Benchmarks, Datasets, Model architecture, Object detection.

ModelsVision modelsPython
Open on GitHub
Momentum
+0stars in 24 hours0.0%
1.98k
Stars
496
Forks
+1
This week
1
Contributors
Created 2018-12-19 · Updated 2026-10-14 · #9161 today
Top developers
swordlidev

Tencent/ObjectDetection-OneStageDet is ranked 9,161 with 1,977 stars.

Same-category comparison

Tencent/ObjectDetection-OneStageDet is ranked 9,161 among these 8 peers; r9y9/deepvoice3_pytorch is ranked 9,160.

Same-category comparison
NameRankMetrics
deepseek-ai/DeepSeek-MoE9,146
Language:
Python
Stars:
1,984
Forks:
311
Description:
DeepSeekMoE: Towards Ultimate Expert Specialization in Mixture-of-Experts Language Models.
showlab/Show-o9,157
Language:
Python
Stars:
1,979
Forks:
95
Description:
[ICLR & NeurIPS 2025] Repository for Show-o series, One Single Transformer to Unify Multimodal Understanding and Generation.
OpenMotionLab/MotionGPT9,158
Language:
Python
Stars:
1,978
Forks:
145
Description:
[NeurIPS 2023] MotionGPT: Human Motion as a Foreign Language, a unified motion-language generation model using LLMs.
r9y9/deepvoice3_pytorch9,160
Language:
Python
Stars:
1,978
Forks:
480
Description:
PyTorch implementation of convolutional neural networks-based text-to-speech synthesis models.
thu-coai/CDial-GPT9,174
Language:
Python
Stars:
1,970
Forks:
257
Description:
A Large-scale Chinese Short-Text Conversation Dataset and Chinese pre-training dialog models.
JIA-Lab-research/DreamOmni29,175
Language:
Python
Stars:
1,969
Forks:
174
Description:
This project is the official implementation of 'DreamOmni2: Multimodal Instruction-based Editing and Generation (CVPR2026 Highlight)''.
nobody132/masr9,178
Language:
Python
Stars:
1,966
Forks:
475
Yuanshi9815/OminiControl9,189
Language:
Python
Stars:
1,958
Forks:
150
Description:
[ICCV 2025 Highlight] OminiControl: Minimal and Universal Control for Diffusion Transformer.
Key parameters and specifications
Key parameters and specifications
ParameterValue
LanguagePython
CategoryModels
SubcategoryVision models
KeywordsBenchmarks, Datasets, Model architecture, Object detection
Stars1,977
Forks496
Contributors1
Created date2018-12-19
Updated date2026-10-14
Stars in 1 day0
Stars in 7 days1
Rank9,161
Previous rank5,399
Rank change-3,762
7-day stars rank9,528
Previous 7-day stars rank9,582
7-day stars rank change54
Total stars rank6,416
Previous total stars rank6,409
Total stars rank change-7
CountryChina
README summary

Contents Introduction Requirements Features Getting Started Installation Training Evaluation Benchmarking the speed of network Credits Introduction Now we have implemented yolov2 and yolov3 in this repo, which is a generation object detection framework named OneStageDet(OSD), in the future we consider to implement yolo and ssd in a single framework. 0 Features Include both Yolov2 and Yolov3 Good performance |544x544 |VOC2007 Test(mAP)|Time per forward (batch size = 1)| | :-: | :-:|:-:| | Yolov2 | 77. 1ms| The models are trained from pretrained weights on

imagenet **with this implementation**. Train as fast as darknet A lot of efficient backbones on hand Like tiny yolov2, tiny yolov3, mobilenet, mobilenetv2, shufflenet(g2), shufflenetv2(1x), squeezenext(1. 0-SqNxt-23v5), light xception, xception etc. |416x416 |VOC2007 Test(mAP)| Time per forward (batch size = 1)| | :-: | :-:| :-: | | TinyYolov2 | 57. 3ms| The models are **trained from scratch with this implementation**. Getting Started Installation 1) Code 2) Data There will now be a VOCdevkit subdirectory with all the VOC training data in it

. py, let the variable point to open cfgs/yolov2. yml, let the point to 3) weights Download model weights from baidudrive or googledrive. 74 from darknet website: Then, move all the model weights to directory. yml, let the of block point to the pretrain weights 1. yml, let the of block point to an available gpu id 1. 3) If you want to print log onto screen, make the of block in cfgs/yolov2. yml, let the of block point

to the pretrain weights 2. yml, let the of block point to an available gpu id 2. 3) If you want to print log onto screen, make the of block in cfgs/yolov3. 4) run 3) Results The logs and weights will be in . 4) Other models There are many other models like tiny yolov2, tiny yolov3, mobilenet, mobilenetv2, shufflenet(g2), shufflenetv2(1x), squeezenext(1. 0-SqNxt-23v5), light xception, xception etc. yml, let the of block point to an

available gpu id 1. yml, let the of block point to an available gpu id 2. 2) run 3) Results The output bbox will be in , every line of the file in has a format like 4) Other models There are many other models like tiny yolov2, tiny yolov3, mobilenet, mobilenetv2, shufflenet(g2), shufflenetv2(1x), squeezenext(1. 0-SqNxt-23v5), light xception, xception etc. yml, let the of block point to an available gpu id 1. yml, let the of

block point to an available gpu id 2. yml, let the of block point to an available gpu id 3. yml, let the of block point to an available gpu id 4. yml, let the of block point to an available gpu id 5. 2) run 6) Other backbones with region loss You can try these like part.

Frequently asked questions

How many stars and forks are recorded?

Tencent/ObjectDetection-OneStageDet has 1,977 stars and 496 forks.

What is the repository rank?

Tencent/ObjectDetection-OneStageDet is ranked 9,161.

What language and category are recorded?

Tencent/ObjectDetection-OneStageDet has 1,977 stars, uses Python and belongs to Models.

Which repository is closest in rank?

Tencent/ObjectDetection-OneStageDet is compared with r9y9/deepvoice3_pytorch, ranked 9,160 with 1,978 stars.

README

Contents

Introduction
Requirements
Features
Getting Started
Credits

Introduction

Now we have implemented yolov2 and yolov3 in this repo, which is a generation object detection framework named OneStageDet(OSD), in the future we consider to implement yolo and ssd in a single framework.

Requirements

  • python 3.6
  • pytorch 0.4.0

Features

  • Include both Yolov2 and Yolov3
  • Good performance

|544x544 |VOC2007 Test(mAP)|Time per forward
(batch size = 1)| | :-: | :-:|:-:| | Yolov2 | 77.6% |11.5ms| | Yolov3 | 79.6% |23.1ms|

The models are trained from pretrained weights on imagenet with this implementation.

  • Train as fast as darknet

  • A lot of efficient backbones on hand

    Like tiny yolov2, tiny yolov3, mobilenet, mobilenetv2, shufflenet(g2), shufflenetv2(1x), squeezenext(1.0-SqNxt-23v5), light xception, xception etc.

    Check folder vedanet/network/backbone for details.

    |416x416 |VOC2007 Test(mAP)| Time per forward
    (batch size = 1)| | :-: | :-:| :-: | | TinyYolov2 | 57.5% | 2.4ms| | TinyYolov3 | 61.3% | 2.3ms|

    The models are trained from scratch with this implementation.

Getting Started

Installation

1) Code
git clone xxxxx/ObjectDetection-OneStageDet
cd ObjectDetection-OneStageDet/
yolo_root=$(pwd)
cd ${yolo_root}/utils/test
make -j32
2) Data
wget https://pjreddie.com/media/files/VOCtrainval_11-May-2012.tar
wget https://pjreddie.com/media/files/VOCtrainval_06-Nov-2007.tar
wget https://pjreddie.com/media/files/VOCtest_06-Nov-2007.tar

tar xf VOCtrainval_11-May-2012.tar
tar xf VOCtrainval_06-Nov-2007.tar
tar xf VOCtest_06-Nov-2007.tar

cd VOCdevkit
VOCdevkit_root=$(pwd)

There will now be a VOCdevkit subdirectory with all the VOC training data in it.

mkdir ${VOCdevkit_root}/onedet_cache
cd ${yolo_root}

open examples/labels.py, let the variable ROOT point to ${VOCdevkit_root}

python examples/labels.py

open cfgs/yolov2.yml, let the data_root_dir point to ${VOCdevkit_root}/onedet_cache

open cfgs/yolov3.yml, let the data_root_dir point to ${VOCdevkit_root}/onedet_cache

3) weights

Download model weights from baidudrive or googledrive.

Or downlowd darknet19_448.conv.23 and darknet53.conv.74 from darknet website:

wget https://pjreddie.com/media/files/darknet19_448.conv.23

wget https://pjreddie.com/media/files/darknet53.conv.74

Then, move all the model weights to ${yolo_root}/weights directory.

Training

cd ${yolo_root}

1) Yolov2

1.1) open cfgs/yolov2.yml, let the weights of train block point to the pretrain weights

1.2) open cfgs/yolov2.yml, let the gpus of train block point to an available gpu id

1.3) If you want to print log onto screen, make the stdout of train block True in cfgs/yolov2.yml

1.4) run

python examples/train.py Yolov2

2) Yolov3

2.1) open cfgs/yolov3.yml, let the weights of train block point to the pretrain weights

2.2) open cfgs/yolov3.yml, let the gpus of train block point to an available gpu id

2.3) If you want to print log onto screen, make the stdout of train block True in cfgs/yolov3.yml

2.4) run

python examples/train.py Yolov3

3) Results

The logs and weights will be in ${yolo_root}/outputs.

4) Other models

There are many other models like tiny yolov2, tiny yolov3, mobilenet, mobilenetv2, shufflenet(g2), shufflenetv2(1x), squeezenext(1.0-SqNxt-23v5), light xception, xception etc. You can try these like 1) Yolov2 part.


Evaluation

cd ${yolo_root}

1) Yolov2

1.1) open cfgs/yolov2.yml, let the gpus of test block point to an available gpu id

1.2) run

python examples/test.py Yolov2

2) Yolov3

2.1) open cfgs/yolov3.yml, let the gpus of test block point to an available gpu id

2.2) run

python examples/test.py Yolov3

3) Results

The output bbox will be in ${yolo_root}/results, every line of the file in ${yolo_root}/results has a format like img_name confidence xmin ymin xmax ymax

4) Other models

There are many other models like tiny yolov2, tiny yolov3, mobilenet, mobilenetv2, shufflenet(g2), shufflenetv2(1x), squeezenext(1.0-SqNxt-23v5), light xception, xception etc. You can try these like 1) Yolov2 part.


Benchmarking the speed of network

cd ${yolo_root}

1) Yolov2

1.1) open cfgs/yolov2.yml, let the gpus of speed block point to an available gpu id

1.2) run

python examples/speed.py Yolov2

2) Yolov3

2.1) open cfgs/yolov3.yml, let the gpus of speed block point to an available gpu id

2.2) run

python examples/speed.py Yolov3

3) Tiny Yolov2

3.1) open cfgs/tiny_yolov2.yml, let the gpus of speed block point to an available gpu id

3.2) run

python examples/speed.py TinyYolov2

4) Tiny Yolov3

4.1) open cfgs/tiny_yolov3.yml, let the gpus of speed block point to an available gpu id

4.2) run

python examples/speed.py TinyYolov3

5) Mobilenet

5.1) open cfgs/region_mobilenet.yml, let the gpus of speed block point to an available gpu id

5.2) run

python examples/speed.py RegionMobilenet

6) Other backbones with region loss

You can try these like 5) Mobilenet part.


Credits

I got a lot of code from lightnet, thanks to EAVISE.

Nearby in the ranking
Similar items