finalize remote weights
Browse files- README.md +10 -7
- run_imagedream.py +2 -2
- run_mvdream.py +2 -2
README.md
CHANGED
@@ -2,14 +2,10 @@
|
|
2 |
|
3 |
A **unified** diffusers implementation of [MVDream](https://github.com/bytedance/MVDream) and [ImageDream](https://github.com/bytedance/ImageDream).
|
4 |
|
5 |
-
We provide converted `fp16` weights on
|
|
|
|
|
6 |
|
7 |
-
### Usage
|
8 |
-
|
9 |
-
```bash
|
10 |
-
python run_mvdream.py "a cute owl"
|
11 |
-
python run_imagedream.py data/anya_rgba.png
|
12 |
-
```
|
13 |
|
14 |
### Install
|
15 |
```bash
|
@@ -17,6 +13,13 @@ python run_imagedream.py data/anya_rgba.png
|
|
17 |
pip install -r requirements.txt
|
18 |
```
|
19 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
### Convert weights
|
21 |
|
22 |
MVDream:
|
|
|
2 |
|
3 |
A **unified** diffusers implementation of [MVDream](https://github.com/bytedance/MVDream) and [ImageDream](https://github.com/bytedance/ImageDream).
|
4 |
|
5 |
+
We provide converted `fp16` weights on huggingface:
|
6 |
+
* [MVDream](https://huggingface.co/ashawkey/mvdream-sd2.1-diffusers)
|
7 |
+
* [ImageDream](https://huggingface.co/ashawkey/imagedream-ipmv-diffusers)
|
8 |
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
|
10 |
### Install
|
11 |
```bash
|
|
|
13 |
pip install -r requirements.txt
|
14 |
```
|
15 |
|
16 |
+
### Usage
|
17 |
+
|
18 |
+
```bash
|
19 |
+
python run_mvdream.py "a cute owl"
|
20 |
+
python run_imagedream.py data/anya_rgba.png
|
21 |
+
```
|
22 |
+
|
23 |
### Convert weights
|
24 |
|
25 |
MVDream:
|
run_imagedream.py
CHANGED
@@ -5,8 +5,8 @@ import argparse
|
|
5 |
from pipeline_mvdream import MVDreamPipeline
|
6 |
|
7 |
pipe = MVDreamPipeline.from_pretrained(
|
8 |
-
"./weights_imagedream", # local weights
|
9 |
-
|
10 |
torch_dtype=torch.float16,
|
11 |
trust_remote_code=True,
|
12 |
)
|
|
|
5 |
from pipeline_mvdream import MVDreamPipeline
|
6 |
|
7 |
pipe = MVDreamPipeline.from_pretrained(
|
8 |
+
# "./weights_imagedream", # local weights
|
9 |
+
"ashawkey/imagedream-ipmv-diffusers", # remote weights
|
10 |
torch_dtype=torch.float16,
|
11 |
trust_remote_code=True,
|
12 |
)
|
run_mvdream.py
CHANGED
@@ -5,8 +5,8 @@ import argparse
|
|
5 |
from pipeline_mvdream import MVDreamPipeline
|
6 |
|
7 |
pipe = MVDreamPipeline.from_pretrained(
|
8 |
-
"./weights_mvdream", # local weights
|
9 |
-
|
10 |
torch_dtype=torch.float16,
|
11 |
trust_remote_code=True,
|
12 |
)
|
|
|
5 |
from pipeline_mvdream import MVDreamPipeline
|
6 |
|
7 |
pipe = MVDreamPipeline.from_pretrained(
|
8 |
+
# "./weights_mvdream", # local weights
|
9 |
+
'ashawkey/mvdream-sd2.1-diffusers', # remote weights
|
10 |
torch_dtype=torch.float16,
|
11 |
trust_remote_code=True,
|
12 |
)
|