mtcnn icon indicating copy to clipboard operation
mtcnn copied to clipboard

Performance is not what it could be

Open jxanders opened this issue 4 years ago • 1 comments

I was testing this repo and then I tested another repo which implements MTCNN in TF2.

I was able to get ~30ish FPS using the linked repo on CPU. Using this repo I can only get 3 FPS with the same images at the same size using the same MTCNN parameters. I am no ML expert, but I believe this is due to how much numpy is used in this repo vs in the other repo which takes advantage of TF's CPU parallelization.

It might be worth looking into the other repo (also MIT) and using their TF model instead of the numpy weights

jxanders avatar Mar 29 '21 18:03 jxanders

having the same problem

do335 avatar Aug 01 '22 09:08 do335