Instructions to use nexuslrf/nd-diffusion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use nexuslrf/nd-diffusion with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("nexuslrf/nd-diffusion", 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
- Local Apps
- Draw Things
- DiffusionBee
Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
library_name: diffusers
|
| 6 |
+
---
|
| 7 |
+
|
| 8 |
+
# Normal-Depth Diffusion Model
|
| 9 |
+
|
| 10 |
+
This is an *unofficial* export of the original normal-depth diffusion model (https://github.com/modelscope/normal-depth-diffusion) to the standard diffusers model format.
|
| 11 |
+
|
| 12 |
+
Can be direcetly loaded via diffusers' `StableDiffusionPipeline`
|
| 13 |
+
|
| 14 |
+

|
| 15 |
+
|
| 16 |
+
All the credit to the original author of normal-depth diffusion model (https://github.com/modelscope/normal-depth-diffusion)
|