Run this model with HF Jobs
Run cyjcyj91/GeoFace on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/cyjcyj91/GeoFace. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/cyjcyj91/GeoFace on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use cyjcyj91/GeoFace with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use cyjcyj91/GeoFace with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("cyjcyj91/GeoFace", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Download README.md from cyjcyj91/GeoFace: direct link, hf CLI and curl.
- Browser
- Download file 2.15 kB
-
https://huggingface.co/cyjcyj91/GeoFace/resolve/main/README.md
- Command line
-
hf download hf://cyjcyj91/GeoFace/README.md
-
curl -L -o README.md https://huggingface.co/cyjcyj91/GeoFace/resolve/main/README.md
language:
- en
tags:
- geoface
- diffusion
- multi-view
- face-generation
- 3d-reconstruction
GeoFace
Pretrained weights for GeoFace: Consistent Multi-View Face Generation with Geometry-Constrained Diffusion.
- Code and installation: https://github.com/cvlab-kaist/GeoFace
- Project page: https://cvlab-kaist.github.io/GeoFace/
GeoFace jointly generates target-view RGB face images and a canonical UV position map from a reference face image and specified cameras. The geometry decoder predicts delta XYZ coordinates, which are added to the matching FLAME template. The resulting UV map can be converted to a face mesh.
Included checkpoints
| Directory | Contents |
|---|---|
geoface-checkpoint-50000/ |
Ours 50K diffusion weights in unet.safetensors, including the learned UV ray token, plus a checksum manifest |
geometry-vae/ |
Full diffusers-format geometry VAE exported from the 10K decoder-training checkpoint, with its configuration |
These files are intended for the GeoFace codebase, not as a standalone generic diffusion pipeline.
Download
From the GeoFace code repository root, run:
hf download cyjcyj91/GeoFace --local-dir weights
Use --checkpoint weights/geoface-checkpoint-50000 and --geometry-vae weights/geometry-vae with the inference entry point. See the code repository for dependency installation, camera preparation and complete inference commands.
Additional inputs
Obtain the Stable Diffusion 2.1 base model and the matching FLAME-derived UV template and mesh topology separately, following the code repository instructions. They are not bundled here. Inference requires a prepared face image and cameras consistent with the model's canonical coordinates. Automatic raw-photo pose estimation is not included.
Validation and scope
The exported weights were tested with 50-step inference, six target RGB views and UV-to-mesh export. RGB images, finite UV position maps and a 5,282-vertex face mesh were produced. These are integration checks and do not establish quantitative reconstruction accuracy. See the code repository's validation notes for details.