← Open Source
BobLiu20

YOLOv3_PyTorch

Full implementation of YOLOv3 in PyTorch.

Model DevelopmentArchitecturePython
Open on GitHub
Momentum
+0stars in 24 hours0.0%
641
Stars
186
Forks
+0
This week
1
Contributors
Created 2018-06-15 · Updated 2026-02-09 · #15639 today
Top developers
BobLiu20

BobLiu20/YOLOv3_PyTorch is ranked 15,639 with 641 stars.

Same-category comparison

BobLiu20/YOLOv3_PyTorch is ranked 15,639 among these 8 peers; AnacletoLAB/grape is ranked 15,636.

Same-category comparison
NameRankMetrics
autonomousvision/shape_as_points15,616
Language:
Python
Stars:
643
Forks:
52
Description:
[NeurIPS'21] Shape As Points: A Differentiable Poisson Solver.
open-gigaai/giga-datasets15,620
Language:
Python
Stars:
643
Forks:
76
Description:
GigaDatasets: A Unified and Lightweight Framework for Data Processing, Curation, and Visualization.
PaddlePaddle/Paddle3D15,627
Language:
Python
Stars:
642
Forks:
148
Description:
A 3D computer vision development toolkit based on PaddlePaddle. It supports point-cloud object detection, segmentation, and monocular 3D object detection models.
AnacletoLAB/grape15,636
Language:
Jupyter Notebook
Stars:
641
Forks:
39
Description:
🍇 GRAPE is a Rust/Python Graph Representation Learning library for Predictions and Evaluations.
NVlabs/EmerNeRF15,644
Language:
Python
Stars:
641
Forks:
49
Description:
PyTorch Implementation of EmerNeRF: Emergent Spatial-Temporal Scene Decomposition via Self-Supervision.
PaulPauls/llama3_interpretability_sae15,645
Language:
Python
Stars:
641
Forks:
40
Description:
A complete end-to-end pipeline for LLM interpretability with sparse autoencoders (SAEs) using Llama 3.2, written in pure PyTorch and fully reproducible.
google-research/envharness15,649
Language:
Python
Stars:
641
Forks:
56
insilicomedicine/GENTRL15,650
Language:
Python
Stars:
641
Forks:
222
Description:
Generative Tensorial Reinforcement Learning (GENTRL) model.
Key parameters and specifications
Key parameters and specifications
ParameterValue
LanguagePython
CategoryModel Development
SubcategoryArchitecture
KeywordsComputer vision, Object detection
Stars641
Forks186
Contributors1
Created date2018-06-15
Updated date2026-02-09
Stars in 1 day0
Stars in 7 days0
Rank15,639
Previous rank15,452
Rank change-187
7-day stars rank15,097
Previous 7-day stars rank15,100
7-day stars rank change3
Total stars rank15,938
Previous total stars rank15,914
Total stars rank change-24
CountryChina
README summary

YOLOv3 Full implementation of YOLOv3 in PyTorch. Overview YOLOv3: An Incremental Improvement [[Paper]]( [[Original Implementation]]( Why this project Implement YOLOv3 and darknet53 without original darknet cfg parser. It is easy to custom your backbone network. 0 Get code Download COCO dataset Training Download pretrained weights 1. Download pretrained backbone wegiths from Google Drive or Baidu Drive 3. Move downloaded file to folder in this project. Start training Option: Visualizing training Evaluate Download pretrained weights 1. Download pretrained yolo3 full wegiths

from Google Drive or Baidu Drive 3. Move downloaded file to folder in this project. Start evaluate Quick test pretrained weights Please download pretrained weights or use yourself checkpoint. Start test You can got result images in output folder. Measure FPS pretrained weights Please download pretrained weights or use yourself checkpoint. Start test Results Test in TitanX GPU with different input size and batch size. Keep in mind this is a full test in YOLOv3. Not only backbone but also

yolo layer and NMS.

Frequently asked questions

How many stars and forks are recorded?

BobLiu20/YOLOv3_PyTorch has 641 stars and 186 forks.

What is the repository rank?

BobLiu20/YOLOv3_PyTorch is ranked 15,639.

What language and category are recorded?

BobLiu20/YOLOv3_PyTorch has 641 stars, uses Python and belongs to Model Development.

Which repository is closest in rank?

BobLiu20/YOLOv3_PyTorch is compared with AnacletoLAB/grape, ranked 15,636 with 641 stars.

README

YOLOv3

Full implementation of YOLOv3 in PyTorch.

Overview

YOLOv3: An Incremental Improvement

[Paper]
[Original Implementation]

Why this project

  • Implement YOLOv3 and darknet53 without original darknet cfg parser.
  • It is easy to custom your backbone network. Such as resnet, densenet...

Installation

Environment
  • pytorch >= 0.4.0
  • python >= 3.6.0
Get code
git clone https://github.com/BobLiu20/YOLOv3_PyTorch.git
cd YOLOv3_PyTorch
pip3 install -r requirements.txt --user
Download COCO dataset
cd data/
bash get_coco_dataset.sh

Training

Download pretrained weights
  1. See weights readme for detail.
  2. Download pretrained backbone wegiths from Google Drive or Baidu Drive
  3. Move downloaded file darknet53_weights_pytorch.pth to wegihts folder in this project.
Modify training parameters
  1. Review config file training/params.py
  2. Replace YOUR_WORKING_DIR to your working directory. Use for save model and tmp file.
  3. Adjust your GPU device. see parallels.
  4. Adjust other parameters.
Start training
cd training
python training.py params.py
Option: Visualizing training
#  please install tensorboard in first
python -m tensorboard.main --logdir=YOUR_WORKING_DIR   

Evaluate

Download pretrained weights
  1. See weights readme for detail.
  2. Download pretrained yolo3 full wegiths from Google Drive or Baidu Drive
  3. Move downloaded file official_yolov3_weights_pytorch.pth to wegihts folder in this project.
Start evaluate
cd evaluate
python eval_coco.py params.py

Quick test

pretrained weights

Please download pretrained weights official_yolov3_weights_pytorch.pth or use yourself checkpoint.

Start test
cd test
python test_images.py params.py

You can got result images in output folder.

Measure FPS

pretrained weights

Please download pretrained weights official_yolov3_weights_pytorch.pth or use yourself checkpoint.

Start test
cd test
python test_fps.py params.py
Results
  • Test in TitanX GPU with different input size and batch size.
  • Keep in mind this is a full test in YOLOv3. Not only backbone but also yolo layer and NMS.
Imp. Backbone Input Size Batch Size Inference Time FPS
Paper Darknet53 320 1 22ms 45
Paper Darknet53 416 1 29ms 34
Paper Darknet53 608 1 51ms 19
Our Darknet53 416 1 28ms 36
Our Darknet53 416 8 17ms 58

Credit

@article{yolov3,
	title={YOLOv3: An Incremental Improvement},
	author={Redmon, Joseph and Farhadi, Ali},
	journal = {arXiv},
	year={2018}
}

Reference

Nearby in the ranking
Similar items