본문으로 건너뛰기
cccskills
무료GitHub에 공개

facenet

Use davidsandberg/facenet for TensorFlow 1.x face recognition workflows: MTCNN alignment, embeddings, classification, LFW evaluation, training, and model export.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(41)

  • SKILL.md5.8 KB
  • references/compatibility-and-install.md3.1 KB
  • references/repo-provenance.md2.8 KB
  • references/repo-routing-metadata.json328 B
  • references/troubleshooting.md2.9 KB
  • scripts/check_facenet_environment.py2.9 KB
  • sub-skills/data-and-alignment/references/alignment-workflows.md2.1 KB
  • sub-skills/data-and-alignment/references/data-formats.md2.2 KB
  • sub-skills/data-and-alignment/references/troubleshooting.md1.9 KB
  • sub-skills/data-and-alignment/scripts/build_alignment_command.py1.3 KB
  • sub-skills/data-and-alignment/scripts/validate_facenet_dataset.py4.3 KB
  • sub-skills/data-and-alignment/SKILL.md4.3 KB
  • sub-skills/embeddings-and-classification/references/cli-reference.md1.5 KB
  • sub-skills/embeddings-and-classification/references/contributed-workflows.md2.1 KB
  • sub-skills/embeddings-and-classification/references/troubleshooting.md1.7 KB
  • sub-skills/embeddings-and-classification/references/workflows.md3.3 KB
  • sub-skills/embeddings-and-classification/scripts/build_classifier_command.py1.3 KB
  • sub-skills/embeddings-and-classification/scripts/build_cluster_command.py1.3 KB
  • sub-skills/embeddings-and-classification/scripts/build_compare_command.py860 B
  • sub-skills/embeddings-and-classification/scripts/build_export_embeddings_command.py1.5 KB
  • sub-skills/embeddings-and-classification/SKILL.md4.2 KB
  • sub-skills/evaluation/references/metrics-reference.md1.5 KB
  • sub-skills/evaluation/references/troubleshooting.md1.2 KB
  • sub-skills/evaluation/references/workflows.md1.7 KB
  • sub-skills/evaluation/scripts/build_lfw_validation_command.py1.5 KB
  • sub-skills/evaluation/scripts/validate_lfw_pairs.py1.8 KB
  • sub-skills/evaluation/SKILL.md3.1 KB
  • sub-skills/model-export-and-checkpoints/references/api-reference.md800 B
  • sub-skills/model-export-and-checkpoints/references/model-files.md1.4 KB
  • sub-skills/model-export-and-checkpoints/references/troubleshooting.md1.3 KB
  • sub-skills/model-export-and-checkpoints/scripts/build_freeze_graph_command.py553 B
  • sub-skills/model-export-and-checkpoints/scripts/inspect_model_dir.py1.4 KB
  • sub-skills/model-export-and-checkpoints/SKILL.md3.1 KB
  • sub-skills/training/references/api-reference.md1.6 KB
  • sub-skills/training/references/model-definitions.md1.3 KB
  • sub-skills/training/references/troubleshooting.md1.6 KB
  • sub-skills/training/references/workflows.md2.8 KB
  • sub-skills/training/scripts/build_softmax_train_command.py2.4 KB
  • sub-skills/training/scripts/build_triplet_train_command.py2.1 KB
  • sub-skills/training/scripts/validate_learning_rate_schedule.py2.1 KB
  • sub-skills/training/SKILL.md3.5 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

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 to verify imports, TensorFlow version, and common dependency availability before planning a workflow.
  5. Read 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:

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 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 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 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 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 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

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

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

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3382026년 9월 3일 업데이트

3ddfa

무료

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

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3382026년 9월 3일 업데이트

3ddfa-v2

무료

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

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3382026년 9월 3일 업데이트

ab3dmot

무료

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

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3382026년 9월 3일 업데이트

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.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3382026년 9월 3일 업데이트

acme

무료

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

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3382026년 9월 3일 업데이트

VectorSpaceLab의 스킬 모두 보기

이 스킬의 문제 신고