executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
model-export-and-checkpointsLoad Facenet checkpoint directories or frozen graphs, inspect variables, and export frozen models.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when the task is about loading a Facenet model, inspecting checkpoint files, choosing between .meta/checkpoint directories and .pb frozen graphs, or exporting a frozen graph.
.meta files..pb file.input:0, embeddings:0, phase_train:0, or label_batch are missing or mismatched.facenet.load_model(model, input_map=None) loads either a frozen .pb graph or a checkpoint directory.facenet.get_model_filenames(model_dir) expects one .meta file and a checkpoint state or model-*.ckpt-* file.facenet.list_variables(filename) lists variable names in a checkpoint file.src/freeze_graph.py imports a checkpoint graph, restores weights, converts variables to constants, and writes a frozen .pb graph.references/model-files.md for path formats and tensor-name expectations.scripts/inspect_model_dir.py to summarize .meta and checkpoint files.scripts/build_freeze_graph_command.py when exporting a .pb graph.tf.train.get_checkpoint_state() behavior before changing workflows..meta plus checkpoint files such as model-<name>.ckpt-<step>..pb file accepted directly by facenet.load_model().input:0, embeddings:0, and phase_train:0.freeze_graph.py also preserves label_batch and Logits-related nodes when exporting.Before freezing, confirm the model directory has the intended graph/checkpoint pair, choose a new .pb output path, and preserve the original checkpoint directory. After export, inspect the graph's input/output tensor names before passing it to comparison, classifier, or LFW evaluation.
../embeddings-and-classification/SKILL.md.../training/SKILL.md.../evaluation/SKILL.md.Read references/troubleshooting.md for missing .meta files, bad checkpoint paths, tensor-name mismatches, and freeze_graph output errors.