facenet
Use davidsandberg/facenet for TensorFlow 1.x face recognition workflows: MTCNN alignment, embeddings, classification, LFW evaluation, training, and model…
Skill by VectorSpaceLab
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/vectorspacelab-facenet
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: ml
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/facenet
What's inside
- Skill name
facenet- Description
- Use davidsandberg/facenet for TensorFlow 1.x face recognition workflows: MTCNN alignment, embeddings, classification, LFW evaluation, training, and model export.
- License
- MIT
- Metadata
- disco-role: operating
- Instructions
- 63 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (41)
- SKILL.md
- compatibility-and-install.md · references/
- repo-provenance.md · references/
- repo-routing-metadata.json · references/
- troubleshooting.md · references/
- check_facenet_environment.py · scripts/
- SKILL.md · sub-skills/data-and-alignment/
- alignment-workflows.md · sub-skills/data-and-alignment/references/
- data-formats.md · sub-skills/data-and-alignment/references/
- troubleshooting.md · sub-skills/data-and-alignment/references/
- build_alignment_command.py · sub-skills/data-and-alignment/scripts/
- validate_facenet_dataset.py · sub-skills/data-and-alignment/scripts/
- SKILL.md · sub-skills/embeddings-and-classification/
- cli-reference.md · sub-skills/embeddings-and-classification/references/
- contributed-workflows.md · sub-skills/embeddings-and-classification/references/
- troubleshooting.md · sub-skills/embeddings-and-classification/references/
- workflows.md · sub-skills/embeddings-and-classification/references/
- build_classifier_command.py · sub-skills/embeddings-and-classification/scripts/
- build_cluster_command.py · sub-skills/embeddings-and-classification/scripts/
- build_compare_command.py · sub-skills/embeddings-and-classification/scripts/
- build_export_embeddings_command.py · sub-skills/embeddings-and-classification/scripts/
- SKILL.md · sub-skills/evaluation/
- metrics-reference.md · sub-skills/evaluation/references/
- troubleshooting.md · sub-skills/evaluation/references/
- workflows.md · sub-skills/evaluation/references/
- build_lfw_validation_command.py · sub-skills/evaluation/scripts/
- validate_lfw_pairs.py · sub-skills/evaluation/scripts/
- SKILL.md · sub-skills/model-export-and-checkpoints/
- api-reference.md · sub-skills/model-export-and-checkpoints/references/
- model-files.md · sub-skills/model-export-and-checkpoints/references/
- troubleshooting.md · sub-skills/model-export-and-checkpoints/references/
- build_freeze_graph_command.py · sub-skills/model-export-and-checkpoints/scripts/
- inspect_model_dir.py · sub-skills/model-export-and-checkpoints/scripts/
- SKILL.md · sub-skills/training/
- api-reference.md · sub-skills/training/references/
- model-definitions.md · sub-skills/training/references/
- troubleshooting.md · sub-skills/training/references/
- workflows.md · sub-skills/training/references/
- build_softmax_train_command.py · sub-skills/training/scripts/
- build_triplet_train_command.py · sub-skills/training/scripts/
- validate_learning_rate_schedule.py · sub-skills/training/scripts/
SKILL.md (first lines)
# Facenet Repo Skill Use this skill when a task involves David Sandberg's TensorFlow 1.x FaceNet repository: aligning face images with MTCNN, extracting embeddings, comparing faces, training an SVM classifier, evaluating on LFW pairs, training FaceNet models, or exporting checkpoints to frozen graphs. ## First checks 1. Treat Facenet as a source-style TensorFlow 1.x project, not a modern packaged library with console entry points. 2. Prefer a Python environment that can import TensorFlow 1.x APIs (`tf.Session`, `tf.Graph`, `tf.train`, and `tf.contrib.slim`). TensorFlow 2.x without compatibility shims is not enough. 3. Ensure Facenet modules are importable as modules such as `facenet`, `lfw`, `compare`, `classifier`, `train_softmax`, `train_tripletloss`, `freeze_graph`, `align.detect_face`, and `models.inception_resnet_v1`. 4. Run [`scripts/check_facenet_environment.py`](scripts/check_facenet_environment.py) to verify imports, TensorFlow version, and common dependency availability before planning a workflow. 5. Read [`references/compatibility-and-install.md`](references/compatibility-and-install.md) when installing or debugging the old TensorFlow/Python dependency stack. ## Install/inspect For faithful historical execution, use the repository's documented TensorFlow 1.7/Python 2.7 or 3.5 environment. On modern hosts, use an isolated Python 3.7-era environment with a compatible TensorFlow 1.x build, NumPy/SciPy/scikit-learn/OpenCV/h5py/Pillow, and a compatible `protobuf<3.20`; do not install into the interpreter running the agent. Because this repo has no packaging metadata, make its source modules importable before running module-style commands. The root checker is the minimum read-only verification: ```bash python scripts/check_facenet_environment.py --json ``` ## Route by task - **Dataset layout, image preprocessing, and MTCNN alignment**: read [`sub-skills/data-and-alignment/SKILL.md`](sub-skills/data-and-alignment/SKILL.md) for class-folder datasets, `pairs.txt` basics, `prewhiten`/crop/flip behavior, and alignment command construction. - **Embeddings, comparison, classifiers, and clustering**: read [`sub-skills/embeddings-and-classification/SKILL.md`](sub-skills/embeddings-and-classification/SKILL.md) for model-backed embedding extraction, `compare`, SVM classifier, `.npy` exports, DBSCAN, and contributed recognition examples. - **LFW and verification metrics**: read [`sub-skills/evaluation/SKILL.md`](sub-skills/evaluation/SKILL.md) for `validate_on_lfw`, pair-file validation, ROC/VAL/FAR/AUC/EER interpretation, and fixed-standardization warnings. - **Training and model definitions**: read [`sub-skills/training/SKILL.md`](sub-skills/training/SKILL.md) for softmax/triplet training commands, model definitions, loss functions, learning-rate schedules, logging, and checkpoint outputs. - **Model files, checkpoints, and frozen graphs**: read [`sub-skills/model-export-and-checkpoints/SKILL.md`](sub-skills/model-export-and-checkpoints/SKILL.md) for accepted model path formats, `load_model`, checkpoint selection, tensor names, and `freeze_graph` workflows. ## Common Facenet objects and conventions - A class-folder dataset is `data_dir/person_name/image.ext`; labels are assigned by sorted directory order. - The main embedding tensor is usually `embeddings:0`, input images are `input:0`, and inference mode is controlled by `phase_train:0`. - A checkpoint model directory must contain exactly one `.meta` file plus checkpoint state or `model-*.ckpt-*` files. - A frozen graph is a `.pb` file that `facenet.load_model` imports directly. - Pretrained models named in the README commonly use image size `160`; newer 2018 models require fixed image standardization for comparable LFW results. ## Default handoff order For a new end-to-end request, use this order unless the user already supplies validated artifacts: 1. Run the environment checker and confirm TF1 imports. 2. Validate the class-folder or LFW data layout. 3. Inspect the checkpoint directory or frozen graph signature. 4. Build the narrowest workflow command with the owning sub-skill helper. 5. Run a bounded help/fixture/model smoke before any long, networked, or hardware-interactive job. 6. Record output directories, model path, image size, standardization mode, batch size, and seed so later comparisons are reproducible. If a request crosses multiple routes, keep each artifact explicit: raw data, aligned data, model/checkpoint, classifier pickle, embeddings, metrics, and logs should not be silently mixed. ## Safety and scope - Full training, LFW benchmarks, and pretrained comparison usually require external datasets or model downloads. Treat them as skip-network or skip-expensive unless the user supplies assets and approves runtime cost. - Webcam recognition in contributed scripts needs a camera/display plus hard-coded model/classifier assumptions. Document it or adapt it carefully; do not start an infinite webcam loop as a smoke test. - Do not use TensorFlow 2.x behavior to infer Facenet correctness without checking TF1 compatibility. - The generated skill excludes the experimental VAE/generative branch and broad `tmp/` experiments unless the user explicitly asks for those historical utilities. ## References - [`references/repo-provenance.md`](references/repo-provenance.md) records the source commit, evidence paths, and generation baseline. - [`references/repo-routing-metadata.json`](references/repo-routing-metadata.json) is structured metadata for managed repo-skill routing. - [`references/troubleshooting.md`](references/troubleshooting.md) covers cross-cutting install/import/model/data failures.
From VectorSpaceLab/AREX-Skill, MIT.
More from VectorSpaceLab/AREX-Skill
- 0.563score
data-designer-repo-skill
VectorSpaceLab
Use when you need to design DataDesigner configs, run preview/create/validate workflows, inspect the CLI or agent context, work with plugins or MCP tools, or…
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
everos
VectorSpaceLab
Use this skill for EverOS local-first Markdown memory service setup, HTTP memory and knowledge APIs, cascade/OME operations, and observability integration.
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
bentoml
VectorSpaceLab
Use BentoML to author model-serving Services, build and containerize Bentos, run HTTP/gRPC servers and clients, manage models, operate the CLI and BentoCloud…
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
dash
VectorSpaceLab
Use when building, debugging, testing, or maintaining Plotly Dash applications, callbacks, server backends, component packages, renderer internals, and Dash…
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
diffusers
VectorSpaceLab
Use this skill for Hugging Face Diffusers tasks: pipeline inference, schedulers, adapters/loaders, training recipes, modular pipelines, conversion helpers…
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
espnet
VectorSpaceLab
Use when working with ESPnet speech AI toolkit: installation, ESPnet2 recipes and training, pretrained inference/model zoo, ESPnet3 stage workflows, and…
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
alphafold3
VectorSpaceLab
Use this skill for AlphaFold 3 input preparation, prediction command planning, output interpretation, and Python API inspection.
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
autogen
VectorSpaceLab
Use this skill for maintaining, migrating, debugging, and safely operating Microsoft AutoGen Python 0.7.x applications, including AgentChat, Core runtimes…
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
browser-use
VectorSpaceLab
Use this self-contained Browser Use repo skill for Python agents that automate websites, browser sessions, custom tools, LLM/provider setup, persistent CLI…
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
dagster
VectorSpaceLab
Use when working with Dagster OSS: assets, jobs, Definitions, config/resources, schedules/sensors, automation, CLI/local development, deployment operations…
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
datasets
VectorSpaceLab
Use this skill when working with Hugging Face Datasets: loading local or Hub datasets, defining Features schemas, processing/streaming datasets, converting…
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
geopandas
VectorSpaceLab
Use when working with GeoPandas GeoDataFrame and GeoSeries workflows, vector geospatial I/O, CRS-aware spatial operations, mapping, geocoding, and…
SkillBFreshness: B★ 341Claude Code +9
Signals
- Stars
- 341
- Forks
- 26
- Open issues
- 0
- Last commit (this folder)
- Aug 26, 2026 (2 months ago)
- Last release
- Sep 2, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/VectorSpaceLab/AREX-Skill
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from VectorSpaceLab
- 0.563score
bentoml
VectorSpaceLab
Use BentoML to author model-serving Services, build and containerize Bentos, run HTTP/gRPC servers and clients, manage models, operate the CLI and BentoCloud…
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
dagster
VectorSpaceLab
Use when working with Dagster OSS: assets, jobs, Definitions, config/resources, schedules/sensors, automation, CLI/local development, deployment operations…
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
alphafold3
VectorSpaceLab
Use this skill for AlphaFold 3 input preparation, prediction command planning, output interpretation, and Python API inspection.
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
autogen
VectorSpaceLab
Use this skill for maintaining, migrating, debugging, and safely operating Microsoft AutoGen Python 0.7.x applications, including AgentChat, Core runtimes…
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
browser-use
VectorSpaceLab
Use this self-contained Browser Use repo skill for Python agents that automate websites, browser sessions, custom tools, LLM/provider setup, persistent CLI…
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
dash
VectorSpaceLab
Use when building, debugging, testing, or maintaining Plotly Dash applications, callbacks, server backends, component packages, renderer internals, and Dash…
SkillBFreshness: B★ 341Claude Code +9
Cite this page
facenet skill. Agent Mart. https://agentmart.dev/skills/vectorspacelab-facenet (last updated 2026-10-24)