Skip to main content
L Lenny
/08 Machine learning

Facial Recognition

Face identification on an NVIDIA Jetson Orin NX: 98.75% across eight people, and 97% after learning two more with transfer learning.

The overview

A course project in two parts. In part 1, on my own, I trained ResNet and MobileNetV4 models from scratch on a subset of the LFW faces dataset to find the most accurate setup. In part 2, our team of four built on my best model, taught it two new people with transfer learning, and ran it on an NVIDIA Jetson Orin NX.

What I built

The model search and the transfer learning. I trained eight architectures (ResNet-18 to 152, MobileNetV4 Small to Large) across 12 learning-rate and batch-size combinations, 96 runs in all; ResNet-18 came out on top at 98.75%. For part 2 I extended its classifier from 8 to 10 people, balanced the small new classes, and fine-tuned the last ResNet block.

In practice

What you can do with it

3 capabilities
  1. 01

    Identify eight people at 98.75% accuracy

  2. 02

    Add new people with transfer learning

  3. 03

    Run inference on an NVIDIA Jetson Orin NX