update readme
Browse files
README.md
CHANGED
|
@@ -3,15 +3,19 @@ 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
|
| 12 |
from PIL import Image
|
| 13 |
-
from pipeline import
|
| 14 |
-
from diffusers import EulerAncestralDiscreteScheduler
|
| 15 |
|
| 16 |
# opts
|
| 17 |
seed = -1
|
|
@@ -28,7 +32,7 @@ forward_args = dict(
|
|
| 28 |
)
|
| 29 |
|
| 30 |
# load
|
| 31 |
-
pipe =
|
| 32 |
"Luffuly/unique3d-normal-diffuser",
|
| 33 |
torch_dtype=torch.bfloat16,
|
| 34 |
trust_remote_code=True,
|
|
|
|
| 3 |
---
|
| 4 |
# Unique3d-Normal-Diffuser Model Card
|
| 5 |
|
| 6 |
+
[🌟GitHub](https://github.com/TingtingLiao/unique3d_diffuser) | [🦸 Project Page](https://wukailu.github.io/Unique3D/) | [🔋MVImage Diffuser](https://huggingface.co/Luffuly/unique3d-mvimage-diffuser)
|
| 7 |
+
|
| 8 |
## Example
|
| 9 |
Note the input image is suppose to be **white background**.
|
| 10 |
|
| 11 |
+

|
| 12 |
+
|
| 13 |
+
|
| 14 |
```bash
|
| 15 |
import torch
|
| 16 |
import numpy as np
|
| 17 |
from PIL import Image
|
| 18 |
+
from pipeline import Unique3dDiffusionPipeline
|
|
|
|
| 19 |
|
| 20 |
# opts
|
| 21 |
seed = -1
|
|
|
|
| 32 |
)
|
| 33 |
|
| 34 |
# load
|
| 35 |
+
pipe = Unique3dDiffusionPipeline.from_pretrained(
|
| 36 |
"Luffuly/unique3d-normal-diffuser",
|
| 37 |
torch_dtype=torch.bfloat16,
|
| 38 |
trust_remote_code=True,
|