协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
translation-workflows【开发与工程】Routes CUT, FastCUT, and SinCUT training, testing, checkpoint loading, and result inspection workflows.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task is about the repository's main image-to-image translation flows: training CUT or FastCUT, testing a trained model, loading checkpoints, or running the single-image SinCUT variant.
--model, --CUT_mode, or option family to use.train.py and test.py as the public entry points.options/base_options.py, options/train_options.py, and options/test_options.py.models/cut_model.py, models/sincut_model.py, models/networks.py, and models/base_model.py.data/base_dataset.py, data/unaligned_dataset.py, and data/singleimage_dataset.py as they affect these workflows.util/visualizer.py and util/html.py for logging and output artifacts.--checkpoints_dir, --name, --epoch, and --pretrained_name.../data-preparation/ for those tasks.../experiment-launchers/ for those tasks.Run scripts/check_runtime.py when you want a safe import and backend smoke check from a repo root:
python scripts/check_runtime.py --repo-root . --check-cuda
That helper is the quickest way to confirm the installed runtime can import the repo modules that these workflows use.
--model cut and set --CUT_mode CUT or --CUT_mode FastCUT.test.py with the trained name, checkpoint epoch, and results directory.--model sincut and use a dataset with one image in trainA and one image in trainB.--model sincut checkpoint and the single-image dataset layout.--name, --epoch, --phase, and --results_dir to point at the saved checkpoint and output tree.references/cli-reference.md for the verified flag families and their interactions.references/workflows.md for end-to-end command sequences and output conventions.references/troubleshooting.md for missing-dependency, checkpoint, output-path, and legacy-model failures.train.py or test.py options, stay here.../data-preparation/.python -m experiments presets, route to ../experiment-launchers/.--gpu_ids -1 is the CPU path.--direction AtoB is the default; BtoA is available when the dataset or experiment needs it.--preprocess, --load_size, and --crop_size control input resizing and cropping.--results_dir is only for testing; training writes checkpoints and web outputs under --checkpoints_dir.--model test example is stale in this checkout because there is no models/test_model.py.