Skip to main content

Blog

Learn About Our Meetup

5000+ Members

MEETUPS

LEARN, CONNECT, SHARE

Join our meetup, learn, connect, share, and get to know your Toronto AI community. 

JOB POSTINGS

INDEED POSTINGS

Browse through the latest deep learning, ai, machine learning postings from Indeed for the GTA.

CONTACT

CONNECT WITH US

Are you looking to sponsor space, be a speaker, or volunteer, feel free to give us a shout.

[Project] Port of the tensorflow facenet pretrained models to pytorch

https://github.com/timesler/facenet-pytorch

Hi all, this project contains pytorch pretrained inception resnets ported from the davidsandberg/facenet github repo. Models are implemented and used according to the standard pytorch/torchvision methodology (inheritable model modules, torchvision style model zoo for downloaded/cached pretrained state dictionaries etc.). Currently, the project covers face detection using MTCNN and face recognition. MTCNN is implemented as a single stand-alone pytorch module that wraps the p-, r-, and o-net modules as well as the post-processing, making it easy to chain MTCNN and recognition resnets together in a face recognition pipeline.

The motivation for the project was the lack of a clean implementation in pytorch that provides the performance of the davidsandberg/facenet github repo. My aim was to build a project that could be easily used to add value existing pytorch projects without a great deal of effort.

Performance wise, I see similar or better inference speed on my local machine when compared to the original repo, but that one data point doesn’t say a hell of a lot. Any extra testing or feedback much appreciated.

submitted by /u/timesler
[link] [comments]