技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
contrastive-unpaired-translation【数据与研究】Routes CUT/FastCUT/SinCUT workflows, dataset preparation, and launcher presets for the contrastive-unpaired-translation repository.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this repo skill for the CUT family of image-to-image translation workflows in this checkout: CUT, FastCUT, and SinCUT; dataset preparation and layout checks; and preset experiment command generation.
references/repo-provenance.md when you need to confirm whether this skill matches the current checkout or before refreshing the skill.scripts/check_runtime.py when you want a quick import and CLI smoke check from a repo root.references/troubleshooting.md when smoke checks, checkpoint paths, legacy imports, or launcher commands misbehave.sub-skills/translation-workflows/.sub-skills/data-preparation/.sub-skills/experiment-launchers/.The checked code runs from a Python environment with a compatible PyTorch and torchvision build plus the small runtime dependencies used by the repo scripts.
Typical install shape:
torch/torchvision pair for your host.requirements.txt.opencv-python-headless when you plan to use the dataset-preparation helpers that import cv2.A minimal smoke check is:
python scripts/check_runtime.py --repo-root .
If you only need the CLI entry points, python train.py --help and python test.py --help are the quickest verified checks.
checkpoints/ and results/.python -m experiments.--model test example from upstream README text; this checkout has no models/test_model.py.sub-skills/translation-workflows/Read this for CUT/FastCUT/SinCUT model selection, option families, checkpoint loading, output inspection, and the public training/test CLI.
sub-skills/data-preparation/Read this for dataset directory structure, Cityscapes preparation, A/B pair assembly, aligned side-by-side exports, and grumpifycat-style image cropping.
sub-skills/experiment-launchers/Read this for safe command generation, launcher presets, GPU ID selection rules, and the python -m experiments CLI shape.
Before you trust the route map, compare the current checkout against references/repo-provenance.md. If the commit or evidence paths changed, refresh this skill rather than assuming the guidance is still current.