Pretrained Models

fastface offers pretrained models and can be easly accessable without manually downloading weights.

Model Zoo

Name Architecture Configuration Parameters Model Size Link
lffd_original lffd original 2.3M 9mb weights
lffd_slim lffd slim 1.5M 6mb weights

Usage

To get any of pretrained models as pl.LightningModule

import fastface as ff
model = ff.FaceDetector.from_pretrained("<name>")

If you don’t have pretrained model weights, fastface will automatically download and put it under $HOME/.cache/fastface/<package_version>/model/