Instructions to use suvadityamuk/sam-3d-objects-diffusers-3d with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use suvadityamuk/sam-3d-objects-diffusers-3d with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("suvadityamuk/sam-3d-objects-diffusers-3d", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Point the install instructions at github.com/suvadityamuk/diffusers-3d
Browse files
README.md
CHANGED
|
@@ -13,15 +13,15 @@ tags:
|
|
| 13 |
|
| 14 |
# SAM 3D Objects for diffusers-3d
|
| 15 |
|
| 16 |
-
[facebook/sam-3d-objects](https://huggingface.co/facebook/sam-3d-objects) converted into a [diffusers-3d](https://github.com/suvadityamuk/diffusers)
|
| 17 |
pipeline: ordinary Diffusers and Transformers component folders plus the `object3d_model_index.json` sidecar that
|
| 18 |
the package's auto-loader validates before downloading anything. Nothing here requires remote code.
|
| 19 |
|
| 20 |
## Install
|
| 21 |
|
| 22 |
```bash
|
| 23 |
-
pip install git+https://github.com/suvadityamuk/diffusers.git
|
| 24 |
-
pip install "git+https://github.com/suvadityamuk/diffusers.git#subdirectory=packages/diffusers-3d"
|
| 25 |
```
|
| 26 |
|
| 27 |
`diffusers-3d` runs every network in plain PyTorch on CPU or GPU. Rendering Gaussian splats needs the optional
|
|
|
|
| 13 |
|
| 14 |
# SAM 3D Objects for diffusers-3d
|
| 15 |
|
| 16 |
+
[facebook/sam-3d-objects](https://huggingface.co/facebook/sam-3d-objects) converted into a [diffusers-3d](https://github.com/suvadityamuk/diffusers-3d)
|
| 17 |
pipeline: ordinary Diffusers and Transformers component folders plus the `object3d_model_index.json` sidecar that
|
| 18 |
the package's auto-loader validates before downloading anything. Nothing here requires remote code.
|
| 19 |
|
| 20 |
## Install
|
| 21 |
|
| 22 |
```bash
|
| 23 |
+
pip install git+https://github.com/suvadityamuk/diffusers-3d.git
|
| 24 |
+
pip install "git+https://github.com/suvadityamuk/diffusers-3d.git#subdirectory=packages/diffusers-3d"
|
| 25 |
```
|
| 26 |
|
| 27 |
`diffusers-3d` runs every network in plain PyTorch on CPU or GPU. Rendering Gaussian splats needs the optional
|