Skip to content
cccskills
FreePublished on GitHub

3ddfa

Guide 3DDFA Python inference, geometry rendering, training/evaluation, and optional C++ ONNX workflows for 3D dense face alignment.

The English summary is being prepared. Showing the original description.

See how to install

Files included (32)

  • SKILL.md5.2 KB
  • references/install-and-compatibility.md4.5 KB
  • references/repo-provenance.md2.0 KB
  • references/repo-routing-metadata.json400 B
  • references/troubleshooting.md3.3 KB
  • scripts/check_3ddfa_environment.py7.1 KB
  • sub-skills/cpp-onnx-port/references/cpp-build-and-runtime.md5.0 KB
  • sub-skills/cpp-onnx-port/references/onnx-export.md3.3 KB
  • sub-skills/cpp-onnx-port/references/troubleshooting.md5.3 KB
  • sub-skills/cpp-onnx-port/scripts/export_mobilenet_to_onnx.py9.7 KB
  • sub-skills/cpp-onnx-port/SKILL.md2.4 KB
  • sub-skills/geometry-rendering/references/api-reference.md4.6 KB
  • sub-skills/geometry-rendering/references/data-artifacts.md2.1 KB
  • sub-skills/geometry-rendering/references/output-formats.md2.5 KB
  • sub-skills/geometry-rendering/references/rendering-and-cython.md2.2 KB
  • sub-skills/geometry-rendering/references/troubleshooting.md2.4 KB
  • sub-skills/geometry-rendering/scripts/images_to_video.py2.4 KB
  • sub-skills/geometry-rendering/scripts/smoke_geometry.py1.6 KB
  • sub-skills/geometry-rendering/SKILL.md1.7 KB
  • sub-skills/python-inference/references/cli-reference.md5.3 KB
  • sub-skills/python-inference/references/inference-workflows.md6.1 KB
  • sub-skills/python-inference/references/model-checkpoint-notes.md4.2 KB
  • sub-skills/python-inference/references/troubleshooting.md5.2 KB
  • sub-skills/python-inference/scripts/inspect_3ddfa_inference.py8.2 KB
  • sub-skills/python-inference/scripts/smoke_mobilenet_forward.py4.6 KB
  • sub-skills/python-inference/SKILL.md2.9 KB
  • sub-skills/training-evaluation/references/data-layout.md2.7 KB
  • sub-skills/training-evaluation/references/evaluation-benchmarks.md2.9 KB
  • sub-skills/training-evaluation/references/training-and-losses.md3.8 KB
  • sub-skills/training-evaluation/references/troubleshooting.md2.8 KB
  • sub-skills/training-evaluation/scripts/validate_training_args.py14.2 KB
  • sub-skills/training-evaluation/SKILL.md2.1 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

3DDFA Repo Skill

Use this repo skill when a task involves 3DDFA / 3D Dense Face Alignment: face alignment in full pose range, 68-point landmark prediction, dense 3D face vertices, pose boxes, PLY/OBJ export, depth/PNCC/PAF outputs, MobileNet-V1 checkpoints, 3DDFA training/evaluation, or the optional C++ OpenCV DNN port.

This skill is an operating guide for a 3DDFA checkout or adapted codebase. It is self-contained: use the references and bundled scripts here for routing, command construction, diagnostics, and troubleshooting instead of reopening the original repository documentation.

First Checks

  1. Read references/repo-provenance.md before deciding whether this skill matches a checkout.
  2. Read references/install-and-compatibility.md before installing dependencies or choosing CPU/CUDA/dlib/Cython paths.
  3. Run scripts/check_3ddfa_environment.py against the target checkout for a safe import/resource diagnostic.
  4. If the task names a concrete workflow, route to the matching sub-skill below.

Minimal diagnostic from this skill root:

python scripts/check_3ddfa_environment.py --repo-root /path/to/3DDFA

The diagnostic checks resources and imports; it does not run native inference, training, downloads, CMake builds, or benchmarks.

Route Map

User task or signalRead
Run still-image inference, no-dlib bbox inference, inspect main.py flags, diagnose dlib/Cython startup, verify MobileNet forward shape, understand output filenamessub-skills/python-inference/SKILL.md
Decode 62-D parameters, ROI boxes, sparse/dense vertices, PLY/OBJ/.mat, pose matrices, depth/PNCC/PAF, Cython renderer, BFM/3DMM data artifacts, video-frame renderingsub-skills/geometry-rendering/SKILL.md
Adapt training commands, choose WPDC/VDC/PDC, validate filelists/param files/data roots, resume checkpoints, interpret AFLW/AFLW2000 metricssub-skills/training-evaluation/SKILL.md
Export MobileNet checkpoint to ONNX, place C++ weights, build/run OpenCV DNN demo, debug CMake/OpenCV/Yolo/ONNX issuessub-skills/cpp-onnx-port/SKILL.md
Cross-cutting install/import/runtime failurereferences/troubleshooting.md

Operating Boundaries

  • Prefer CPU-safe diagnostics first. CUDA training/evaluation and GPU inference are optional capability paths and must be verified separately.
  • The unmodified Python image CLI imports dlib and render utilities before argument parsing. Even bbox-only workflows can fail at startup if Python dlib or the Cython render extension is missing.
  • Depth and PNCC require the compiled Cython mesh core; PLY/OBJ/landmarks can be planned separately, but the native CLI import path may still require the extension unless wrapped or patched.
  • Full training, benchmark extraction, and the C++ demo depend on external datasets, optional weights, system packages, or GPUs. Treat these as explicit prerequisites, not default verification steps.
  • Do not use this skill for 3DDFA_V2 unless the user explicitly asks to port concepts; this skill is based on the legacy 3DDFA repository snapshot in the provenance reference.

Bundled Scripts

Verification Expectations

Safe verification usually includes:

  • package/import/resource diagnostics;
  • MobileNet CPU forward shape (1, 62);
  • geometry reconstruction shapes (3, 68) and dense (3, 53215);
  • script --help checks for bundled helpers;
  • explicit skip notes for dlib predictor, Cython build, CUDA, external datasets, and OpenCV C++ demo when unavailable.

Do not claim native end-to-end inference, GPU training/evaluation, full benchmarks, or C++ runtime success unless those exact paths were run in the target environment.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Routes 3D ResNets PyTorch video action-recognition workflows across training, inference, and data preparation.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill338Updated Sep 3, 2026

Routes 3DDFA_V2 face-alignment setup, still-image demos, video tracking, and ONNX benchmarking workflows.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill338Updated Sep 3, 2026

Operate AB3DMOT 3D multi-object tracking workflows for KITTI and nuScenes data, tracking, evaluation, and visualization.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill338Updated Sep 3, 2026

Use Hugging Face Accelerate for PyTorch training-loop migration, distributed launch/configuration, DeepSpeed/FSDP/TPU backend setup, big-model inference/offload, checkpointing, tracking, and troubleshooting.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill338Updated Sep 3, 2026

acme

Free

Route Acme reinforcement-learning framework tasks across core loops, replay/data, JAX agents, and TensorFlow/Sonnet agents.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill338Updated Sep 3, 2026

Routes ACT++, ACT, Diffusion Policy, VINN, and MuJoCo simulation workflows for bimanual ALOHA episode data and imitation-learning tasks.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill338Updated Sep 3, 2026

See all skills by VectorSpaceLab

Report a problem with this skill