GitXplorerGitXplorer
o

shap-e

public
11562 stars
933 forks
91 issues

Commits

List of commits on branch main.
Verified
50131012ee11c9d2617f3886c10f000d3c7a3b43

normalize_scene bug fix (#60)

mmattdeitke committed 10 months ago
Verified
0b26c720b28fe31f8a79fc5a9dc907fbd0f67162

Fix TypeError for AttrDcit in Python <= 3.8 (#75)

oonpix committed a year ago
Verified
db3f3b4c2f572b53fbe408d202e2445a1f656353

a few little typos (#68)

mmertyyanik committed a year ago
Unverified
2d3831ffe0b0771c4dc27e49c82411258c3f303c

add tip

hheewooj committed a year ago
Unverified
5fad78ad7814928b5251032f0cac483f1a502ed1

format with black

uunixpickle committed a year ago
Verified
64304879ff5a177b2c3e47908e70d61db52cfb0e

Add OBJ output (#20)

cchand1012 committed a year ago

README

The README file for this repository.

Shap-E

This is the official code and model release for Shap-E: Generating Conditional 3D Implicit Functions.

  • See Usage for guidance on how to use this repository.
  • See Samples for examples of what our text-conditional model can generate.

Samples

Here are some highlighted samples from our text-conditional model. For random samples on selected prompts, see samples.md.

A chair that looks like an avocado An airplane that looks like a banana A spaceship
A chair that looks
like an avocado
An airplane that looks
like a banana
A spaceship
A birthday cupcake A chair that looks like a tree A green boot
A birthday cupcake A chair that looks
like a tree
A green boot
A penguin Ube ice cream cone A bowl of vegetables
A penguin Ube ice cream cone A bowl of vegetables

Usage

Install with pip install -e ..

To get started with examples, see the following notebooks:

  • sample_text_to_3d.ipynb - sample a 3D model, conditioned on a text prompt.
  • sample_image_to_3d.ipynb - sample a 3D model, conditioned on a synthetic view image. To get the best result, you should remove background from the input image.
  • encode_model.ipynb - loads a 3D model or a trimesh, creates a batch of multiview renders and a point cloud, encodes them into a latent, and renders it back. For this to work, install Blender version 3.3.1 or higher, and set the environment variable BLENDER_PATH to the path of the Blender executable.