Koke_Cacao commited on
Commit ·
0c61424
1
Parent(s): 74db9af
:sparkles: update doc
Browse files- .gitignore +2 -2
- README.md +20 -5
- doc/image_0.png +0 -0
- doc/image_1.png +0 -0
- doc/image_2.png +0 -0
- doc/image_3.png +0 -0
.gitignore
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
*.pt
|
| 2 |
*.yaml
|
| 3 |
-
__pycache__
|
| 4 |
-
*.
|
|
|
|
| 1 |
*.pt
|
| 2 |
*.yaml
|
| 3 |
+
**/__pycache__
|
| 4 |
+
*.pyc
|
README.md
CHANGED
|
@@ -1,6 +1,13 @@
|
|
| 1 |
# MVDream-HF
|
| 2 |
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
|
| 5 |
## Convert Original Weights to Diffusers
|
| 6 |
|
|
@@ -8,15 +15,23 @@ Download original MVDream checkpoint through one of the following sources:
|
|
| 8 |
|
| 9 |
```bash
|
| 10 |
# for sd-v1.5 (recommended for production)
|
| 11 |
-
wget https://huggingface.co/MVDream/MVDream/resolve/main/sd-v1.5-4view.pt
|
| 12 |
-
wget https://raw.githubusercontent.com/bytedance/MVDream/main/mvdream/configs/sd-v1.yaml
|
| 13 |
|
| 14 |
# for sd-v2.1 (recommended for publication)
|
| 15 |
-
wget https://huggingface.co/MVDream/MVDream/resolve/main/sd-v2.1-base-4view.pt
|
| 16 |
-
wget https://raw.githubusercontent.com/bytedance/MVDream/main/mvdream/configs/sd-v2-base.yaml
|
| 17 |
```
|
| 18 |
|
| 19 |
Hugging Face diffusers weights are converted by script:
|
| 20 |
```bash
|
| 21 |
python ./scripts/convert_mvdream_to_diffusers.py --checkpoint_path ./sd-v1.5-4view.pt --dump_path . --original_config_file ./sd-v1.yaml --test
|
| 22 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# MVDream-HF
|
| 2 |
|
| 3 |
+
<p align="center">
|
| 4 |
+
<img src="https://huggingface.co/KokeCacao/mvdream-hf/blob/main/doc/image_0.png" height="256">
|
| 5 |
+
<img src="https://huggingface.co/KokeCacao/mvdream-hf/blob/main/doc/image_1.png" height="256">
|
| 6 |
+
<img src="https://huggingface.co/KokeCacao/mvdream-hf/blob/main/doc/image_2.png" height="256">
|
| 7 |
+
<img src="https://huggingface.co/KokeCacao/mvdream-hf/blob/main/doc/image_3.png" height="256">
|
| 8 |
+
</p>
|
| 9 |
+
|
| 10 |
+
A huggingface implementation of MVDream, used for quick one-line download. See [huggingface repo](https://huggingface.co/KokeCacao/mvdream-hf/tree/main) that hosts sd-v1.5 version. See [github repo](https://github.com/KokeCacao/mvdream-hf) for convertion code.
|
| 11 |
|
| 12 |
## Convert Original Weights to Diffusers
|
| 13 |
|
|
|
|
| 15 |
|
| 16 |
```bash
|
| 17 |
# for sd-v1.5 (recommended for production)
|
| 18 |
+
wget https://huggingface.co/MVDream/MVDream/resolve/main/sd-v1.5-4view.pt
|
| 19 |
+
wget https://raw.githubusercontent.com/bytedance/MVDream/main/mvdream/configs/sd-v1.yaml
|
| 20 |
|
| 21 |
# for sd-v2.1 (recommended for publication)
|
| 22 |
+
wget https://huggingface.co/MVDream/MVDream/resolve/main/sd-v2.1-base-4view.pt
|
| 23 |
+
wget https://raw.githubusercontent.com/bytedance/MVDream/main/mvdream/configs/sd-v2-base.yaml
|
| 24 |
```
|
| 25 |
|
| 26 |
Hugging Face diffusers weights are converted by script:
|
| 27 |
```bash
|
| 28 |
python ./scripts/convert_mvdream_to_diffusers.py --checkpoint_path ./sd-v1.5-4view.pt --dump_path . --original_config_file ./sd-v1.yaml --test
|
| 29 |
```
|
| 30 |
+
|
| 31 |
+
---
|
| 32 |
+
language:
|
| 33 |
+
- en
|
| 34 |
+
thumbnail: "url to a thumbnail used in social sharing"
|
| 35 |
+
tags:
|
| 36 |
+
- diffusers
|
| 37 |
+
---
|
doc/image_0.png
ADDED
|
doc/image_1.png
ADDED
|
doc/image_2.png
ADDED
|
doc/image_3.png
ADDED
|