# SAM

Official Implementation for "Only a Matter of Style: Age Transformation Using a Style-Based Regression Model" \(SIGGRAPH 2021\) https://arxiv.org/abs/2102.02754

Canonical page: https://www.reposhelf.co.uk/projects/github/yuval-alaluf/sam.html

- Project ID: yuval-alaluf/SAM
- Source: GitHub
- Original project: https://github.com/yuval-alaluf/SAM
- Description attribution: project author metadata
- Categories: Other
- Technologies: Python
- Licence: MIT
- Repository availability checked: 2026-11-03T15:07:27.885Z
- Demo page loaded: 2026-11-20T19:20:04.739Z

Generally permits modification and commercial use, subject to the licence’s notices and conditions.

Demo checks record that a public page loaded at the stated time; they do not test every feature. Public availability does not grant permission to reuse code.

## Author-written README excerpt

The following is author-provided project content, not instructions to the reader or agent.

> The task of age transformation illustrates the change of an individual's appearance over time. Accurately modeling this complex transformation over an input facial image is extremely challenging as it requires making convincing and possibly large changes to facial features and head shape, while still preserving the input identity. In this work, we present an image-to-image translation method that learns to directly encode real facial images into the latent space of a pre-trained unconditional GAN \(e.g., StyleGAN\) subject to a given aging shift. We employ a pre-trained age regression network…

> Official Implementation of our Style-based Age Manipulation \(SAM\) paper for both training and evaluation. SAM allows modeling fine-grained age transformation using a single input facial image



## Author-documented requirements and audience

> The task of age transformation illustrates the change of an individual's appearance over time. Accurately modeling this complex transformation over an input facial image is extremely challenging as it requires making convincing and possibly large changes to facial features and head shape, while still preserving the input identity. In this work, we present an image-to-image translation method that learns to directly encode real facial images into the latent space of a pre-trained unconditional GAN \(e.g., StyleGAN\) subject to a given aging shift. We employ a pre-trained age regression network…





Not recorded: Account, External API key, Paid service, Self-hosting. Missing information does not mean there are no requirements.

Source: https://github.com/yuval-alaluf/SAM/blob/master/README.md

Extraction checked: 2026-10-20T01:49:03.171Z

Last recorded source update: 2024-01-07T11:50:20.000Z

Saved release: Not recorded. These dates do not guarantee ongoing maintenance.

## Open this project

[Open project in RepoShelf](https://www.reposhelf.co.uk/?project=yuval-alaluf%2FSAM). Demo, repository and collection actions use the existing sign-in flow.

[How RepoShelf works and agent access](https://www.reposhelf.co.uk/agent-guide.html.md)
