Code Monkey home page Code Monkey logo

peleenet's Introduction

PeleeNet

PeleeNet: An efficient DenseNet architecture for mobile devices

An implementation of PeleeNet in PyTorch. PeleeNet is an efficient Convolutional Neural Network (CNN) architecture built with conventional convolution. Compared to other efficient architectures,PeleeNet has a great speed advantage and esay to be applied to the computer vision tasks other than image classification.

For more information, check the paper: Pelee: A Real-Time Object Detection System on Mobile Devices (NeurIPS 2018)

Citation

If you find this work useful in your research, please consider citing:


@incollection{NIPS2018_7466,
title = {Pelee: A Real-Time Object Detection System on Mobile Devices},
author = {Wang, Robert J. and Li, Xiang and Ling, Charles X.},
booktitle = {Advances in Neural Information Processing Systems 31},
editor = {S. Bengio and H. Wallach and H. Larochelle and K. Grauman and N. Cesa-Bianchi and R. Garnett},
pages = {1963--1972},
year = {2018},
publisher = {Curran Associates, Inc.},
url = {http://papers.nips.cc/paper/7466-pelee-a-real-time-object-detection-system-on-mobile-devices.pdf}
}


Results on ImageNet ILSVRC 2012

The table below shows the results on the ImageNet ILSVRC 2012 validation set, with single-crop testing.

Model FLOPs # parameters Top-1 Acc FPS (NVIDIA TX2)
MobileNet 569 M 4.2 M 70.0 136
ShuffleNet 2x 524 M 5.2 M 73.7 110
Condensenet (C=G=8) 274M 4.0M 71 40
MobileNet v2 300 M 3.5 M 72.0 123
ShuffleNet v2 1.5x 300 M 5.2 M 72.6 164
PeleeNet (our) 508 M 2.8 M 72.6 240
PeleeNet v2 (our) 621 M 4.4 M 73.9 245

peleenet's People

Contributors

robert-junwang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

peleenet's Issues

Urgent question!!

I am deeply interested in your peleeNet.

Can I get the lmdb used for peleeNet training?

Thanks,

caffemodel file does not give the expected result

Hello,

I don't know what is wrong with the
https://github.com/Robert-JunWang/PeleeNet/blob/master/caffe/peleenet.caffemodel
file but I get a zero accuracy result when I run it in caffe using the ImageNet dataset.

I tried my setup with other models and I get valid results, so it doesn't seem to be a caffe setup issue.

Could you please confirm that there is nothing wrong with your caffemodel file or perform a forward pass to make sure that the problem is from my side?

Thanks in advance,
Panagiotis

P.S.: I show my caffe prototxt data layer and some of the inference results.

prototxt data layer:

layer {
name: "data"
type: "Data"
top: "data"
top: "label"
include {
phase: TEST
}
transform_param {
crop_size: 224
mean_value: 104
mean_value: 117
mean_value: 123
}
data_param {
source: "caffe/examples/imagenet/ilsvrc12_val_lmdb"
batch_size: 32 #not *iter_size
backend: LMDB
}
}

sample results:

0210 19:37:09.175479 23329 caffe.cpp:304] Batch 38, accuracy_top5 = 0.03125
I0210 19:37:09.234783 23329 caffe.cpp:304] Batch 39, accuracy_top1 = 0
I0210 19:37:09.234794 23329 caffe.cpp:304] Batch 39, accuracy_top5 = 0.03125
I0210 19:37:09.294126 23329 caffe.cpp:304] Batch 40, accuracy_top1 = 0
I0210 19:37:09.294137 23329 caffe.cpp:304] Batch 40, accuracy_top5 = 0.03125
I0210 19:37:09.353266 23329 caffe.cpp:304] Batch 41, accuracy_top1 = 0
I0210 19:37:09.353276 23329 caffe.cpp:304] Batch 41, accuracy_top5 = 0
I0210 19:37:09.412345 23329 caffe.cpp:304] Batch 42, accuracy_top1 = 0
I0210 19:37:09.412356 23329 caffe.cpp:304] Batch 42, accuracy_top5 = 0
I0210 19:37:09.471475 23329 caffe.cpp:304] Batch 43, accuracy_top1 = 0
I0210 19:37:09.471486 23329 caffe.cpp:304] Batch 43, accuracy_top5 = 0
I0210 19:37:09.530666 23329 caffe.cpp:304] Batch 44, accuracy_top1 = 0
I0210 19:37:09.530678 23329 caffe.cpp:304] Batch 44, accuracy_top5 = 0
I0210 19:37:09.589838 23329 caffe.cpp:304] Batch 45, accuracy_top1 = 0
I0210 19:37:09.589849 23329 caffe.cpp:304] Batch 45, accuracy_top5 = 0
I0210 19:37:09.649101 23329 caffe.cpp:304] Batch 46, accuracy_top1 = 0
I0210 19:37:09.649111 23329 caffe.cpp:304] Batch 46, accuracy_top5 = 0.03125
I0210 19:37:09.708271 23329 caffe.cpp:304] Batch 47, accuracy_top1 = 0
I0210 19:37:09.708281 23329 caffe.cpp:304] Batch 47, accuracy_top5 = 0

ask a question

hello,could you tell me the difference between this repository PeleeNet and another repository Pelee. And,why this repository is empty?where i can get the prototxt about PeleeNet?Thank you .

One question!

Hi!

I have a question for training model.
How long does it take to train a model for 120k iteration with VOC data?
I want to know about peleeNet, not pelee.

Thank you,

Inference time

Hi, In my experiment, the inference time of PeleeNet is 3 times larger than ResNet18, and is almost equal to ResNet50 ?
I guess the reason is I didn't use TensorRT which can optimize the RAM access. Could you please give a more detailed explanation?

.pth to caffemodel

Hello Robert;

I would like to change the number of the blocks from [3,4,8,6] to [a,b,c,d]. Then I would like to use this model for training peele. Could let me know how do I convert a .pth file to caffemodel so that it is accessible for PELEE

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.