ShapEImg2Img_pipeline
Image-conditioned Shap-E: a latent diffusion model that turns one picture into a 3D asset renderable as a mesh or NeRF.
3D and point clouds · 1,524 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Task
- 3D and point clouds
- Parameters
- 845.4M
- Operations
- 1,524
- Framework
- PyTorch
- Recurrent
- No
- Published
- 2023
- Cited by
- 913 (as of 29 November 2026)
- Authors
- Heewoo Jun, Alex Nichol
- Source
- diffusers 0.38.0
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m2796
- Graph hash
- 3488e9826a30d1de1e3ddfc85be939cf45d7a5d6da034f8176128c02360a184e
- Skeleton hash
- 9b334a96b1175d0b084edcca7bf7e246161747971c980f0fe750fef9a49b27a3
- Architecture hash
- 3b5784594d81ecd4e25f0f6ea739fad1435eca70ae80266db3c5a9274da69d32
- Diagram SHA-256
- f85ef9842fdec1e9e94e1eff9e4b6392b84b9b5f1f765edcc151a112a4cd6b49
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
Shap-E is a conditional generative model for 3D assets. Rather than producing one fixed output format, it generates the parameters of implicit functions that can be rendered as both textured meshes and neural radiance fields. The version on this page is the image-conditioned release, which samples a 3D object from a single synthetic 2D image.
Training happens in two stages: an encoder is first trained to map 3D assets deterministically into the parameters of an implicit function, then a conditional diffusion model is trained on the encoder's outputs. The diffusion model adopts the transformer architecture of Point-E but replaces point clouds with sequences of latent vectors. The latents enter the transformer as 1024 tokens, each corresponding to a row of the implicit function's MLP weight matrices. For image conditioning, a 256-token CLIP embedding sequence is prepended to the transformer context.
Compared with Point-E, an explicit generative model over point clouds, the paper reports that Shap-E converges faster and reaches comparable or better sample quality despite modeling a higher-dimensional output space. In the image-conditional setting, the paper reports that the two models reach roughly the same final evaluation performance. They also tend to share failure cases: in one example both models infer an occluded handle on a mug. The authors note that although Shap-E can often produce recognizable 3D assets, the samples often look rough or lack fine details.
Key idea. Shap-E generates the parameters of 3D implicit functions with a latent diffusion model, yielding assets renderable as both textured meshes and neural radiance fields.
- shap-e
- shap-e img2img
- image to 3d
- 3d generation
- implicit function
- nerf
- textured mesh
- latent diffusion
- openai shap-e
- 3d asset
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{jun2023shapegeneratingconditional3d,
title={Shap-E: Generating Conditional 3D Implicit Functions},
author={Heewoo Jun and Alex Nichol},
year={2023},
eprint={2305.02463},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2305.02463},
}