update readme
Browse files
README.md
CHANGED
|
@@ -1 +1,42 @@
|
|
| 1 |
-
# Unique3d-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Unique3d-MVImage-Diffuser Model Card
|
| 2 |
+
|
| 3 |
+
# Usage
|
| 4 |
+
```bash
|
| 5 |
+
pipe = StableDiffusionImage2MVCustomPipeline.from_pretrained(
|
| 6 |
+
"Luffuly/unique3d-mv-variation-diffuser",
|
| 7 |
+
torch_dtype=torch.float16,
|
| 8 |
+
trust_remote_code=True
|
| 9 |
+
).to("cuda")
|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
image = Image.open('hao.png').convert("RGB")
|
| 13 |
+
|
| 14 |
+
forward_args = dict(
|
| 15 |
+
width=256,
|
| 16 |
+
height=256,
|
| 17 |
+
width_cond=256,
|
| 18 |
+
height_cond=256,
|
| 19 |
+
num_images_per_prompt=4,
|
| 20 |
+
num_inference_steps=50,
|
| 21 |
+
guidance_scale=1.5,
|
| 22 |
+
)
|
| 23 |
+
|
| 24 |
+
out = pipe(image, **forward_args).images
|
| 25 |
+
rgb_np = np.hstack([np.array(img) for img in out])
|
| 26 |
+
Image.fromarray(rgb_np).save(f"test.png")
|
| 27 |
+
```
|
| 28 |
+
|
| 29 |
+
## Image-to-Normal
|
| 30 |
+
please check:
|
| 31 |
+
|
| 32 |
+
## Citation
|
| 33 |
+
```bash
|
| 34 |
+
@misc{wu2024unique3d,
|
| 35 |
+
title={Unique3D: High-Quality and Efficient 3D Mesh Generation from a Single Image},
|
| 36 |
+
author={Kailu Wu and Fangfu Liu and Zhihan Cai and Runjie Yan and Hanyang Wang and Yating Hu and Yueqi Duan and Kaisheng Ma},
|
| 37 |
+
year={2024},
|
| 38 |
+
eprint={2405.20343},
|
| 39 |
+
archivePrefix={arXiv},
|
| 40 |
+
primaryClass={cs.CV}
|
| 41 |
+
}
|
| 42 |
+
```
|