mtcnn icon indicating copy to clipboard operation
mtcnn copied to clipboard

detect speed

Open KeyKy opened this issue 8 years ago • 8 comments

I found the speed of detection is about 1.0s/image (some images are 0.3s/images). Is it right?

KeyKy avatar Feb 03 '17 01:02 KeyKy

The speed is about 50ms per image for VGA images(30ms-40ms per image for fddb images) on titan x.

Seanlinx avatar Feb 04 '17 06:02 Seanlinx

@Seanlinx which mode do you use? slide windows or fcn.

KeyKy avatar Feb 04 '17 06:02 KeyKy

fcn @KeyKy

Seanlinx avatar Feb 04 '17 06:02 Seanlinx

@Seanlinx I use slide windows. Is it slower than fcn?

KeyKy avatar Feb 04 '17 06:02 KeyKy

When i use fcn i get this error Check failed: x.ctx() == default_ctx All arguments must be in global context unless group2ctx is specified PS: I solved this problem by set convert=True.

KeyKy avatar Feb 04 '17 06:02 KeyKy

here is some time cost using fcn and the model you provided. Are these right? time cost 0.744 pnet 0.733 rnet 0.009 onet 0.003 time cost 0.833 pnet 0.820 rnet 0.009 onet 0.004 time cost 0.106 pnet 0.096 rnet 0.007 onet 0.002 time cost 0.179 pnet 0.170 rnet 0.007 onet 0.003 time cost 0.039 pnet 0.028 rnet 0.009 onet 0.003 time cost 0.048 pnet 0.029 rnet 0.012 onet 0.007 time cost 0.058 pnet 0.042 rnet 0.009 onet 0.006 time cost 0.865 pnet 0.849 rnet 0.013 onet 0.004 time cost 0.348 pnet 0.335 rnet 0.010 onet 0.003 time cost 0.743 pnet 0.729 rnet 0.010 onet 0.003

KeyKy avatar Feb 04 '17 06:02 KeyKy

Yes. And it'll be faster if you set MXNET_ENGINE_TYPE to NaiveEngine

Seanlinx avatar Feb 04 '17 06:02 Seanlinx

@Seanlinx i use the demo to test a 1080P video , run time is 50ms, is it normal ?my PC is i7-6700 ,GPU is GTX 1070, thx

tzhang2014 avatar Feb 06 '18 09:02 tzhang2014