Instructions to use Luffuly/unique3d-normal-diffuser with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Luffuly/unique3d-normal-diffuser with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Luffuly/unique3d-normal-diffuser", 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
Browse files
README.md
CHANGED
|
@@ -1,10 +1,11 @@
|
|
| 1 |
---
|
| 2 |
license: mit
|
| 3 |
-
---
|
| 4 |
# Unique3d-Normal-Diffuser Model Card
|
| 5 |
|
| 6 |
## Example
|
| 7 |
Note the input image is suppose to be **white background**.
|
|
|
|
| 8 |
```bash
|
| 9 |
import torch
|
| 10 |
import numpy as np
|
|
|
|
| 1 |
---
|
| 2 |
license: mit
|
| 3 |
+
---
|
| 4 |
# Unique3d-Normal-Diffuser Model Card
|
| 5 |
|
| 6 |
## Example
|
| 7 |
Note the input image is suppose to be **white background**.
|
| 8 |
+
|
| 9 |
```bash
|
| 10 |
import torch
|
| 11 |
import numpy as np
|