Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,26 @@
|
|
1 |
---
|
2 |
license: openrail
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
license: openrail
|
3 |
+
datasets:
|
4 |
+
- allenai/objaverse
|
5 |
+
library_name: diffusers
|
6 |
+
pipeline_tag: image-to-image
|
7 |
+
tags:
|
8 |
+
- art
|
9 |
---
|
10 |
+
|
11 |
+
How to use:
|
12 |
+
|
13 |
+
1. Copy or download `inference.py` from files.
|
14 |
+
2. Build a `Zero123PlusPipeline` with the checkpoint.
|
15 |
+
|
16 |
+
Example usage:
|
17 |
+
|
18 |
+
```python
|
19 |
+
pipeline = Zero123PlusPipeline.from_pretrained('./zero123pp', torch_dtype=torch.float16)
|
20 |
+
pipeline.to('cuda:0')
|
21 |
+
pipeline(
|
22 |
+
to_rgb_image(Image.open(r"condition.png"))
|
23 |
+
).images[0].show()
|
24 |
+
```
|
25 |
+
|
26 |
+
Condition needs to be in gray (127, 127, 127) or transparent (recommended) background.
|