Coder Social home page Coder Social logo

pytorch-darknet53's Introduction

Darknet53

This is implementation of Darknet53 network discussed in [1] used for feature extractor of YOLOv3.

This new network is more efficient than ResNet-101 or ResNet-152.

Here are some ImageNet results:

  • Framework: Darknet [2]
  • GPU: Titan X
  • Input Shape(CWH): 3 x 256 x 256

darknet_table

Darknet-53 is better than ResNet-101 and 1.5ร— faster.

Darknet-53 has similar performance to ResNet-152 and is 2ร— faster [1] .

But when I trained and tested this model with 224x224 input image, I could not get the good results like the above table.

I got 75.xx% accracy on Imagenet validation dataset.

Pretrained model_weight_download

Network Structure

webp net-resizeimage

Training

python train.py --data [imagenet-folder with train and val folders] --gpu 0 -b 64

Benchmark

  • Framework: PyTorch
  • GPU: GTX 1080 Ti 11GB
  • CPU: i7 6550 3.4 GHZ
  • RAM: 16 GB
  • Batch Size: 1
  • Input Shape(CWH): 3 x 224 x 224

On GPU

resnet101 : 0.034906 sec
resnet152 : 0.055852 sec
densenet121 : 0.041888 sec
darknet53 : 0.017952 sec

On CPU

resnet101 : 0.675194 sec
resnet152 : 0.949459 sec
densenet121 : 0.649266 sec
darknet53 : 0.405916 sec

Reference

[1] YOLOv3: An Incremental Improvement

[2] darknet framework

[3] ImageNet training in PyTorch

pytorch-darknet53's People

Contributors

developer0hye 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.