Giter VIP home page Giter VIP logo

pytorch_yolov4's Introduction

YOLOv4

This is PyTorch implementation of YOLOv4 which is based on ultralytics/yolov5.

development log

Expand

Pretrained Models & Comparison

Model Test Size APval AP50val AP75val APSval APMval APLval yaml weights
YOLOv4s-mish 672 40.3% 59.4% 43.8% 23.9% 45.3% 52.2% yaml weights
YOLOv4m-mish 672 44.7% 64.0% 48.7% 28.3% 50.2% 57.7% yaml weights
YOLOv4l-mish 672 48.1% 66.8% 52.6% 31.9% 53.3% 61.0% yaml weights
YOLOv4x-mish 672 49.8% 68.4% 54.4% 32.7% 55.3% 63.6% yaml weights
YOLOv4x-mish TTA 51.2% 69.1% 56.1% 35.6% 56.3% 64.9% yaml weights
CSPp6-mish 1280 53.9% 72.0% 59.0% 39.3% 58.3% 66.6% yaml -
CSPp6-mish TTA 54.4% 72.3% 59.6% 39.8% 58.9% 67.6% yaml -
CSPp7-mish 1536 54.5% 72.4% 59.7% 39.4% 59.1% 67.8% yaml -
CSPp7-mish TTA 55.1% 72.4% 60.5% 40.8% 59.8% 68.5% yaml -
Model Test Size APtest AP50test AP75test APStest APMtest APLtest batch1 throughput
CSPp6-mish 1280 54.3% 72.3% 59.5% 36.6% 58.2% 65.5% 30 fps
CSPp6-mish TTA 54.9% 72.6% 60.2% 37.4% 58.8% 66.7% -
CSPp7-mish 1536 54.8% 72.6% 60.0% 37.6% 58.8% 66.5% 15 fps
CSPp7-mish TTA 55.2% 72.6% 60.6% 38.2% 59.4% 67.3% -

Requirements

pip install -r requirements.txt

Training

python train.py --data coco.yaml --cfg yolov4l-mish.yaml --weights ''

โ€ป Please also install https://github.com/thomasbrandon/mish-cuda

Testing

python test.py --img 672 --conf 0.001 --batch 32 --data coco.yaml --weights weights/yolov4l-mish.pt

Citation

@article{bochkovskiy2020yolov4,
  title={{YOLOv4}: Optimal Speed and Accuracy of Object Detection},
  author={Bochkovskiy, Alexey and Wang, Chien-Yao and Liao, Hong-Yuan Mark},
  journal={arXiv preprint arXiv:2004.10934},
  year={2020}
}
@inproceedings{wang2020cspnet,
  title={{CSPNet}: A New Backbone That Can Enhance Learning Capability of {CNN}},
  author={Wang, Chien-Yao and Mark Liao, Hong-Yuan and Wu, Yueh-Hua and Chen, Ping-Yang and Hsieh, Jun-Wei and Yeh, I-Hau},
  booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops},
  pages={390--391},
  year={2020}
}

Acknowledgements

pytorch_yolov4's People

Contributors

wongkinyiu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.