NV-Generate-CT (rflow-ct)
暂无简介
- License 许可
- MIT
- 所属仓库
- rhCat/skillChip
- 最近更新
- 2026-07-31
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- NV-Generate-CT (rflow-ct)
- perks
- [ "generate", "list-anatomies", "preflight", "run-ct-mask", "run-ct-from-mask", "run-ct-image" ]
- skill
- nv-generate-ct-rflow
02 资源文件 62
- 其他blueprint.drawio2.7 KB
- 参考文档blueprint.json3.5 KB
- 资产文件blueprint.svg8.9 KB
- 参考文档index.json6.9 KB
- 参考文档ledger.json487 B
- 参考文档perks.json1.0 KB
- 参考文档perks/generate/manifesto.json318 B
- 参考文档perks/generate/metadata.json1.6 KB
- 脚本perks/generate/src/_anatomy.py11.8 KB
- 脚本perks/generate/src/_summary_card.py10.9 KB
- 参考文档perks/generate/src/contracts.json290 B
- 脚本perks/generate/src/list_anatomies.py4.5 KB
- 脚本perks/generate/src/run_ct_from_mask.py17.5 KB
- 脚本perks/generate/src/run_ct_image.py20.4 KB
- 脚本perks/generate/src/run_ct_mask.py20.0 KB
- 脚本perks/generate/src/run_rflow_ct.py38.6 KB
- 脚本perks/generate/src/run_rflow_ct.sh1.2 KB
- 脚本perks/generate/src/wrapper_utils.py2.1 KB
- 参考文档perks/generate/test/case.json274 B
- 参考文档perks/generate/test/fixture/input.txt12 B
- 参考文档perks/list-anatomies/manifesto.json412 B
- 参考文档perks/list-anatomies/metadata.json1.3 KB
- 脚本perks/list-anatomies/src/_anatomy.py11.8 KB
- 参考文档perks/list-anatomies/src/contracts.json377 B
- 脚本perks/list-anatomies/src/list_anatomies.py4.5 KB
- 脚本perks/list-anatomies/src/list_anatomies.sh1.3 KB
- 参考文档perks/list-anatomies/test/case.json268 B
- 参考文档perks/list-anatomies/test/fixture/configs/label_dict.json153 B
- 参考文档perks/preflight/manifesto.json385 B
- 参考文档perks/preflight/metadata.json1.8 KB
- 脚本perks/preflight/src/_anatomy.py11.8 KB
- 脚本perks/preflight/src/_summary_card.py10.9 KB
- 参考文档perks/preflight/src/contracts.json354 B
- 脚本perks/preflight/src/run_rflow_ct_preflight.sh1.2 KB
- 脚本perks/preflight/src/run_rflow_ct.py38.6 KB
- 脚本perks/preflight/src/wrapper_utils.py2.1 KB
- 参考文档perks/preflight/test/case.json290 B
- 参考文档perks/preflight/test/fixture/config_infer.json244 B
- 参考文档perks/run-ct-from-mask/manifesto.json522 B
- 参考文档perks/run-ct-from-mask/metadata.json1.8 KB
- 参考文档perks/run-ct-from-mask/src/contracts.json386 B
- 脚本perks/run-ct-from-mask/src/run_ct_from_mask.py17.5 KB
- 脚本perks/run-ct-from-mask/src/run_ct_from_mask.sh1.6 KB
- 脚本perks/run-ct-from-mask/src/wrapper_utils.py2.1 KB
- 参考文档perks/run-ct-from-mask/test/case.json299 B
- 参考文档perks/run-ct-from-mask/test/fixture/ct_from_mask_request.json158 B
- 参考文档perks/run-ct-image/manifesto.json499 B
- 参考文档perks/run-ct-image/metadata.json1.9 KB
- 参考文档perks/run-ct-image/src/contracts.json427 B
- 脚本perks/run-ct-image/src/run_ct_image.py20.4 KB
- 脚本perks/run-ct-image/src/run_ct_image.sh1.6 KB
- 脚本perks/run-ct-image/src/wrapper_utils.py2.1 KB
- 参考文档perks/run-ct-image/test/case.json290 B
- 参考文档perks/run-ct-image/test/fixture/ct_image_config.json173 B
- 参考文档perks/run-ct-mask/manifesto.json450 B
- 参考文档perks/run-ct-mask/metadata.json2.1 KB
- 参考文档perks/run-ct-mask/src/contracts.json381 B
- 脚本perks/run-ct-mask/src/run_ct_mask.py20.0 KB
- 脚本perks/run-ct-mask/src/run_ct_mask.sh1.5 KB
- 脚本perks/run-ct-mask/src/wrapper_utils.py2.1 KB
- 参考文档perks/run-ct-mask/test/case.json286 B
- 参考文档perks/run-ct-mask/test/fixture/mask_request.json158 B
03 SKILL.md 正文
nv-generate-ct-rflow — NV-Generate-CT (rflow-ct)
Generate paired synthetic CT volumes + masks with NVIDIA NV-Generate-CTMR's rectified-flow
pipeline. A thin wrapper that shells out to upstream scripts.inference; not for production
training data without independent review.
Perks
| perk | tool(s) | nature |
|---|---|---|
generate |
run_rflow_ct |
destructive (runs GPU diffusion inference, downloads/caches model weights, contacts network) |
list-anatomies |
list_anatomies |
read-only (offline catalog lookup over label_dict.json; no GPU, no network) |
preflight |
run_rflow_ct_preflight |
read-only (validates a config + previews cost via --preflight-only; never launches inference) |
run-ct-mask |
run_ct_mask |
destructive (standalone GPU mask diffusion; defaults to preflight, gated behind explicit confirm) |
run-ct-from-mask |
run_ct_from_mask |
destructive (GPU CT-from-mask inference; defaults to preflight, gated behind explicit confirm) |
run-ct-image |
run_ct_image |
destructive (GPU CT image-only diffusion; defaults to preflight, gated behind explicit confirm) |
The generate wrapper runs preflight on every invocation (config-schema bounds, anatomy/body-region
validation, FOV minimums, dataset + CUDA presence, VRAM/wall-time estimate), then invokes
upstream python -m scripts.inference --version rflow-ct. Because it launches heavy GPU
inference and may fetch ~5.5 GB of weights, the perk is declared destructive: true; the
executor gates it accordingly.
list-anatomies and preflight are the offline, read-only operations: the first prints the
canonical anatomy class names (use it before authoring an anatomy_list /
controllable_anatomy_size override), the second runs the same preflight generate does but
stops before inference so you can validate a config and preview its cost for free. run-ct-mask,
run-ct-from-mask, and run-ct-image expose the three less-common upstream generation modes
(raw MAISI mask synthesis, CT image from an existing label mask, and CT image-only generation);
each defaults to a preflight validation report and only launches GPU inference when explicitly
confirmed (PREFLIGHT=0 CONFIRM=1).
How to use it
Copy ledger.json -> task-ledger.json, set the vars + record_store, then validate -> compose -> compile -> oversight -> executor.
Localized from NVIDIA/skills
nv-generate-ct-rflow(Apache-2.0).
04 同仓库更多 Skills
Vercel Deploy
暂无简介
Audio Transcribe
暂无简介
Speech (OpenAI TTS)
暂无简介
Skill Installer
暂无简介
demo-skill
A demo skill used as a test fixture for the validate perk. Use when checking that quick_validate.py accepts a well-formed SKILL.md.
demo-skill
A demo skill used as a test fixture for generating agents/openai.yaml. Use when validating the gen_openai_yaml perk.