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
training-and-modelTrain, fine-tune, and understand zi2zi's TensorFlow 1.x conditional adversarial U-Net, experiment layout, losses, label shuffling, and checkpoint monitoring.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when a task is about zi2zi training, fine-tuning, model structure, loss terms, checkpoint management, or experiment diagnostics. It does not run long training automatically; it explains the legacy workflow and gives safe command planning and preflight checks.
train.obj and val.obj.train.py, experiment_dir, checkpoint, sample,
logs, flip_labels, fine_tune, inst_norm, freeze_encoder, or loss
names such as L1, constant, category, or total variation.d_loss saturates, why label shuffling was
added, or how checkpoints and TensorBoard outputs are organized..obj packaging go to
data-preparation.UNet is a pix2pix-like encoder/decoder generator with skip connections and
a discriminator that predicts real/fake and style category.flip_labels=1 enables the no-target-source branch used for label shuffling
and saturation recovery.freeze_encoder=1 excludes encoder variables from generator updates.fine_tune accepts a comma-separated list of integer labels, which the data
provider uses to filter training and validation records.inst_norm=1 switches decoder normalization to conditional instance
normalization instead of batch normalization.The README and source expect an experiment tree like this:
experiment/
data/
train.obj
val.obj
checkpoint/
logs/
sample/
train.py creates the checkpoint, log, and sample directories if they do not
exist. Checkpoints are saved under a batch-size-specific model directory named
experiment_<id>_batch_<batch>.
train.obj and val.obj are present and non-empty.--embedding_num large enough for the highest label in the data.--resume=1 only when you want to continue an existing experiment.--fine_tune for label-subset adaptation and --flip_labels=1 when the
discriminator saturates during later fine-tuning.sample/ images for collapse or label issues.Read training-workflow.md for command shapes, preflight checks, and safe run-planning. Read model-architecture.md for architecture and loss details. Read troubleshooting.md for TensorFlow, checkpoint, OOM, and data-layout failures.
.obj files, and explicit runtime budget.