A parametric face with a jawline and a license agreement
This repo puts the FLAME 3D head model into PyTorch, giving deep-learning pipelines a differentiable face with a working jaw.

What it does
This is a PyTorch implementation of FLAME, a statistical 3D morphable head model built from over 33,000 aligned scans. It represents identity, expression, and pose—including articulated jaw, neck, and eyeballs—as differentiable tensors, so it slots into deep-learning pipelines for reconstruction or animation. The repo also bundles pose-dependent dynamic landmarks borrowed from the RingNet project.
The interesting bit
Unlike a static mesh, FLAME is essentially a parametric puppet: it combines a linear identity space trained on 3,800 subjects with corrective blendshapes that fire based on pose. Having this in PyTorch means you can backpropagate through a raised eyebrow or a clenched jaw.
Key highlights
- Trained on 33,000+ accurately aligned 3D scans, with identity space from 3,800 subjects
- Articulated anatomy: jaw, neck, and eyeballs move independently via pose parameters
- Pose-dependent corrective blendshapes plus global expression blendshapes
- Includes dynamic contour landmarks from
RingNetfor fitting to 2D images - Underpins a small ecosystem of projects (
DECA,RingNet,VOCA,SMPL-X)
Caveats
- The README specifies Python 3.7 and PyTorch 1.4, which are both well past their sell-by date
- Model weights require a separate registration and license agreement on the FLAME website
- Built with modifications from
SMPLX, so it inherits that codebase’s conventions and quirks
Verdict Grab this if you need a differentiable, anatomically grounded 3D head for computer-vision research. Skip it if you are looking for an end-to-end training framework; this is the geometry engine, not the full pipeline.
Frequently asked
- What is soubhiksanyal/FLAME_PyTorch?
- This repo puts the FLAME 3D head model into PyTorch, giving deep-learning pipelines a differentiable face with a working jaw.
- Is FLAME_PyTorch open source?
- Yes — soubhiksanyal/FLAME_PyTorch is open source, released under the MIT license.
- What language is FLAME_PyTorch written in?
- soubhiksanyal/FLAME_PyTorch is primarily written in Python.
- How popular is FLAME_PyTorch?
- soubhiksanyal/FLAME_PyTorch has 808 stars on GitHub.
- Where can I find FLAME_PyTorch?
- soubhiksanyal/FLAME_PyTorch is on GitHub at https://github.com/soubhiksanyal/FLAME_PyTorch.