Text-to-3D
Diffusers
Safetensors
English
StableDiffusionUpscaleLDM3DPipeline
stable-diffusion
stable-diffusion-diffusers
text-to-image
Eval Results (legacy)
Instructions to use Intel/ldm3d-sr with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Intel/ldm3d-sr with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Intel/ldm3d-sr", 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
Update README.md
Browse files
README.md
CHANGED
|
@@ -58,7 +58,7 @@ Using the [🤗's Diffusers library](https://github.com/huggingface/diffusers) i
|
|
| 58 |
from PIL import Image
|
| 59 |
import os
|
| 60 |
import torch
|
| 61 |
-
from diffusers import
|
| 62 |
|
| 63 |
#Generate a rgb/depth output from LDM3D
|
| 64 |
pipe_ldm3d = StableDiffusionLDM3DPipeline.from_pretrained("Intel/ldm3d-4c")
|
|
|
|
| 58 |
from PIL import Image
|
| 59 |
import os
|
| 60 |
import torch
|
| 61 |
+
from diffusers import StableDiffusionLDM3DPipeline, DiffusionPipeline
|
| 62 |
|
| 63 |
#Generate a rgb/depth output from LDM3D
|
| 64 |
pipe_ldm3d = StableDiffusionLDM3DPipeline.from_pretrained("Intel/ldm3d-4c")
|