协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
make-it-3d【开发与工程】Use this repo skill for Make-It-3D single-image 3D creation, including CUDA asset setup, alpha-image validation, coarse NeRF optimization, refinement, rendering, export, and troubleshooting.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill when a task is about operating Make-It-3D, the ICCV 2023 single-image-to-3D system that optimizes a NeRF with DPT depth, CLIP/Stable-Diffusion guidance, and a refinement/export stage. The skill is self-contained: use the bundled references and scripts here rather than reopening the source README, demos, or scripts just to recover commands, flags, dependencies, or failure handling.
Before giving run commands, check freshness in references/repo-provenance.md. The source snapshot is a script-style research repo, not a pip-installable root package. Future use normally starts from a Make-It-3D checkout plus a CUDA-capable Python environment.
| User need | Read next | Why |
|---|---|---|
| Install/diagnose dependencies, DPT weights, Hugging Face access, alpha-mask inputs, or hardware readiness | environment-and-inputs | Owns CUDA/dependency planning, model assets, input PNG requirements, and reusable environment/input checks. |
| Build the two coarse-stage commands, tune camera ranges, select CLIP vs Stable Diffusion guidance, or debug geometry during training | coarse-training | Owns front-view and 360-degree NeRF optimization, important main.py flags, outputs, and geometry failures. |
| Continue to refine stage, render videos, test checkpoints, save meshes, or reason about point-cloud/mesh export dependencies | refinement-and-export | Owns refine/test/export command construction, generated output layout, and mesh/point-cloud troubleshooting. |
| Cross-cutting install/import, missing module, CUDA extension, credential, output, or quality issues | references/troubleshooting.md | Summarizes failures that span multiple sub-skills. |
opt.cuda_ray = True, so raymarching CUDA support matters even when a user asks for --backbone vanilla.--ref_path with cv2.IMREAD_UNCHANGED and immediately converts BGRA to RGBA, so the reference should be a four-channel image with a usable foreground alpha mask. Use sub-skills/environment-and-inputs/scripts/validate_alpha_input.py.--text "..."; otherwise main.py loads BLIP2 (Salesforce/blip2-opt-2.7b) for captioning, which requires network/model cache and substantial GPU memory.--final path; include --final --refine if --refine alone does not execute refinement.Use the exact versions required by the user's machine when possible, but the source documentation used this public install pattern:
pip install torch==1.10.0+cu113 torchvision==0.11.1+cu113 torchaudio==0.10.0+cu113 -f https://download.pytorch.org/whl/cu113/torch_stable.html
pip install git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch
pip install git+https://github.com/openai/CLIP.git
pip install git+https://github.com/huggingface/diffusers.git git+https://github.com/huggingface/huggingface_hub.git
pip install git+https://github.com/facebookresearch/pytorch3d.git
pip install git+https://github.com/S-aiueo32/contextual_loss_pytorch.git
pip install -r requirements.txt
pip install ./raymarching
Read references/backend-and-assets.md before executing this literally: the repository pins older CUDA/PyTorch-era dependencies, while modern hosts often require adjusted torch/PyTorch3D/tiny-cuda-nn builds.