OpenViSTAI · Agents · Blockchain · Crypto
Menu
AI Models

Probabilistic Face Embeddings

Probabilistic Face Embeddings is MIT-licensed Python research code using TensorFlow to train and test face representations that pair conventional CNN embedding features with learned uncertainty, modeling each face embedding as a Gaussian distribution parameterized by mu and sigma.

Independent OpenViST project profile, based on linked sources.

Probabilistic Face Embeddings — Experimenting with learned, feature-level uncertainty in face embeddings
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use the repository when you want research code and example workflows for training probabilistic face embeddings or evaluating uncertainty-aware face comparisons on supported datasets.

Who it is for

  • Researchers investigating uncertainty-aware face representation and recognition.
  • Developers comparing probabilistic embeddings with conventional CNN-based face embeddings.
  • Practitioners evaluating face comparisons on the example LFW or IJB-A workflows.

Documented uses

  • Train an uncertainty module on a prepared base face-embedding network.
  • Evaluate single-image face comparisons with aligned LFW data.
  • Evaluate template comparison with aligned IJB-A data.
Before you choose

Requirements & limits

The repository metadata specifies an MIT license. The README identifies Python 3 and TensorFlow r1.9 for its demo code.

  • Training requires a prepared base embedding network as well as the training configuration and data.
  • The documented examples use CASIA-WebFace, LFW and IJB-A, with alignment or cropping steps before training and evaluation.
  • The README notes that its pure-Python IJB-A normalization differs from the Matlab normalization used in the paper, and results may differ slightly.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Prepare a base model and start example training

Run the repository's documented default training command for its example CASIA configuration.

Before you start

  • Python 3 and TensorFlow r1.9, as specified by the repository.
  • A prepared base embedding network; the README describes downloading and unpacking its example model into pretrained/sphere64_caisa_am/.
  • Training data and configuration prepared as required by config/sphere64_casia.py.

Steps

  1. From the project root, prepare the example base model in pretrained/sphere64_caisa_am/.

  2. Review the training configuration in config/sphere64_casia.py, including its training data and model settings.

  3. Run python train.py config/sphere64_casia.py.

Expected outcome

The README says training creates a folder under log/sphere64_casia_am_PFE/ containing checkpoints and summaries.

Guide limitations

  • The guide covers the documented training command, not a verification that it runs in a particular environment.
  • The command depends on the base model and configuration prerequisites being prepared.
Source-based practical guide

Evaluate a trained model on aligned LFW images

Use the documented single-image comparison evaluation on LFW.

Before you start

  • An existing trained model directory.
  • LFW images aligned using the repository's preprocessing instructions.
  • Python 3 and TensorFlow r1.9, as specified by the repository.

Steps

  1. Prepare and align LFW images using the repository's listed landmarks and alignment command.

  2. From the project root, run python evaluation/eval_lfw.py --model_dir /path/to/your/model/directory --dataset_path data/lfw_mtcnncaffe_aligned.

Expected outcome

The evaluation script runs the README's LFW single-image comparison workflow using the selected model and aligned dataset.

Guide limitations

  • The documented command assumes a trained model and preprocessed LFW data; it does not cover training or dataset acquisition.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
17 November 2026
Original website title
seasonSH/Probabilistic-Face-Embeddings · Official homepage title · retained in its source language