Research paper for 3D generation from 2D diffusion models
Top 61.5% on sourcepulse
This repository implements Score Jacobian Chaining (SJC), a method for generating 3D assets by leveraging pretrained 2D diffusion models. It targets researchers and practitioners in computer vision and graphics interested in 3D generation from 2D priors, offering a novel approach to adapt powerful 2D models for 3D tasks.
How It Works
SJC applies the chain rule to a diffusion model's learned score function, backpropagating it through the Jacobian of a differentiable renderer (specifically, a voxel radiance field). This process aggregates 2D scores from multiple viewpoints into a unified 3D score, enabling 3D data generation using existing 2D models. A key innovation is a novel estimation mechanism to address the distribution mismatch inherent in this cross-domain adaptation.
Quick Start & Requirements
pip3 install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu116
), then pip install -r requirements.txt
. Manually install taming-transformers
(git clone --depth 1 git@github.com:CompVis/taming-transformers.git && pip install -e taming-transformers
).env.json
to point to the uncompressed files.mkdir exp && cd exp
). A sample generation command is python /path/to/sjc/run_sjc.py --sd.prompt "A zoomed out high quality photo of Temple of Heaven" --n_steps 10000 --lr 0.05 --sd.scale 100.0
.Highlighted Details
threestudio
.Maintenance & Community
threestudio
.Licensing & Compatibility
Limitations & Caveats
1 year ago
1 day