top | item 20863433

Face Recognition Using Pytorch

119 points| timesler | 6 years ago |github.com

11 comments

order

briggers|6 years ago

I see from the MTCNN code that this repo (like all others I've seen) is still bouncing tensors between GPU and CPU while passing between the P/R/ONets.

So many ML repos make this mistake in pre/post-processing and end up bottlenecked on CPU.

Anyone know of an MTCNN that's been ported to run more or less fully on GPU? (Or even that does batching instead of an image-by-image approach?)

timesler|6 years ago

I'm not aware of any implementation with these features, but they are both on the roadmap for the linked repo. Both should also be achievable. Batch processing, in particular, will be a straight-forward change and should result in quite a speed-up. Although it will require the input images to have the same dimensions.

cnxhk|6 years ago

timesler|6 years ago

That's a good repo. It uses mxnet right? The aim of the repo in the topic was mainly to provide a clean implementation that could slot easily into an existing pytorch workflow.

lorepieri|6 years ago

Thanks for sharing. I'm working on face recognition with homomorphic encryption, therefore without compromising the user privacy. The bold goal is the first privacy preserving videocamera. If you find this interesting, I would love to chat about it.

timesler|6 years ago

That sounds like a pretty interesting challenge. Happy to chat more - you can get in touch using the contact details on github.

s_Hogg|6 years ago

Where in the page is the evidence of the speed claim made in the headline for this submission?

Edit: title has now been changed

ldulcic|6 years ago

Great repo, been using it for a while now! Thank You Tim!

timesler|6 years ago

Awesome, and thanks for your feedback in the early days. I've made the tracking interface much nicer as a result.