Update README.md
Browse files
README.md
CHANGED
@@ -114,26 +114,26 @@ Make sure you have activated the conda environment before running the following
|
|
114 |
# jade style
|
115 |
|
116 |
# Using Flash Attention for acceleration.
|
117 |
-
python app/hydit_app.py --infer-mode fa --load-key ema --
|
118 |
|
119 |
# You can disable the enhancement model if the GPU memory is insufficient.
|
120 |
# The enhancement will be unavailable until you restart the app without the `--no-enhance` flag.
|
121 |
-
python app/hydit_app.py --infer-mode fa --no-enhance --load-key ema --
|
122 |
|
123 |
# Start with English UI
|
124 |
-
python app/hydit_app.py --infer-mode fa --lang en --load-key ema --
|
125 |
|
126 |
# porcelain style
|
127 |
|
128 |
# Using Flash Attention for acceleration.
|
129 |
-
python app/hydit_app.py --infer-mode fa --load-key ema --
|
130 |
|
131 |
# You can disable the enhancement model if the GPU memory is insufficient.
|
132 |
# The enhancement will be unavailable until you restart the app without the `--no-enhance` flag.
|
133 |
-
python app/hydit_app.py --infer-mode fa --no-enhance --load-key ema --
|
134 |
|
135 |
# Start with English UI
|
136 |
-
python app/hydit_app.py --infer-mode fa --lang en --load-key ema --
|
137 |
```
|
138 |
|
139 |
|
@@ -145,24 +145,24 @@ We provide several commands to quick start:
|
|
145 |
# jade style
|
146 |
|
147 |
# Prompt Enhancement + Text-to-Image. Torch mode
|
148 |
-
python sample_t2i.py --infer-mode fa --prompt "玉石绘画风格,一只猫在追蝴蝶" --load-key ema --
|
149 |
|
150 |
# Only Text-to-Image. Torch mode
|
151 |
-
python sample_t2i.py --infer-mode fa --prompt "玉石绘画风格,一只猫在追蝴蝶" --no-enhance --load-key ema --
|
152 |
|
153 |
# Generate an image with other image sizes.
|
154 |
-
python sample_t2i.py --infer-mode fa --prompt "玉石绘画风格,一只猫在追蝴蝶" --image-size 1280 768 --load-key ema --
|
155 |
|
156 |
# porcelain style
|
157 |
|
158 |
# Prompt Enhancement + Text-to-Image. Torch mode
|
159 |
-
python sample_t2i.py --infer-mode fa --prompt "青花瓷风格,一只猫在追蝴蝶" --load-key ema --
|
160 |
|
161 |
# Only Text-to-Image. Torch mode
|
162 |
-
python sample_t2i.py --infer-mode fa --prompt "青花瓷风格,一只猫在追蝴蝶" --no-enhance --load-key ema --
|
163 |
|
164 |
# Generate an image with other image sizes.
|
165 |
-
python sample_t2i.py --infer-mode fa --prompt "青花瓷风格,一只猫在追蝴蝶" --image-size 1280 768 --load-key ema --
|
166 |
```
|
167 |
|
168 |
|
|
|
114 |
# jade style
|
115 |
|
116 |
# Using Flash Attention for acceleration.
|
117 |
+
python app/hydit_app.py --infer-mode fa --load-key ema --lora-ckpt ./ckpts/t2i/lora/jade
|
118 |
|
119 |
# You can disable the enhancement model if the GPU memory is insufficient.
|
120 |
# The enhancement will be unavailable until you restart the app without the `--no-enhance` flag.
|
121 |
+
python app/hydit_app.py --infer-mode fa --no-enhance --load-key ema --lora-ckpt ./ckpts/t2i/lora/jade
|
122 |
|
123 |
# Start with English UI
|
124 |
+
python app/hydit_app.py --infer-mode fa --lang en --load-key ema --lora-ckpt ./ckpts/t2i/lora/jade
|
125 |
|
126 |
# porcelain style
|
127 |
|
128 |
# Using Flash Attention for acceleration.
|
129 |
+
python app/hydit_app.py --infer-mode fa --load-key ema --lora-ckpt ./ckpts/t2i/lora/porcelain
|
130 |
|
131 |
# You can disable the enhancement model if the GPU memory is insufficient.
|
132 |
# The enhancement will be unavailable until you restart the app without the `--no-enhance` flag.
|
133 |
+
python app/hydit_app.py --infer-mode fa --no-enhance --load-key ema --lora-ckpt ./ckpts/t2i/lora/porcelain
|
134 |
|
135 |
# Start with English UI
|
136 |
+
python app/hydit_app.py --infer-mode fa --lang en --load-key ema --lora-ckpt ./ckpts/t2i/lora/porcelain
|
137 |
```
|
138 |
|
139 |
|
|
|
145 |
# jade style
|
146 |
|
147 |
# Prompt Enhancement + Text-to-Image. Torch mode
|
148 |
+
python sample_t2i.py --infer-mode fa --prompt "玉石绘画风格,一只猫在追蝴蝶" --load-key ema --lora-ckpt ./ckpts/t2i/lora/jade
|
149 |
|
150 |
# Only Text-to-Image. Torch mode
|
151 |
+
python sample_t2i.py --infer-mode fa --prompt "玉石绘画风格,一只猫在追蝴蝶" --no-enhance --load-key ema --lora-ckpt ./ckpts/t2i/lora/jade
|
152 |
|
153 |
# Generate an image with other image sizes.
|
154 |
+
python sample_t2i.py --infer-mode fa --prompt "玉石绘画风格,一只猫在追蝴蝶" --image-size 1280 768 --load-key ema --lora-ckpt ./ckpts/t2i/lora/jade
|
155 |
|
156 |
# porcelain style
|
157 |
|
158 |
# Prompt Enhancement + Text-to-Image. Torch mode
|
159 |
+
python sample_t2i.py --infer-mode fa --prompt "青花瓷风格,一只猫在追蝴蝶" --load-key ema --lora-ckpt ./ckpts/t2i/lora/porcelain
|
160 |
|
161 |
# Only Text-to-Image. Torch mode
|
162 |
+
python sample_t2i.py --infer-mode fa --prompt "青花瓷风格,一只猫在追蝴蝶" --no-enhance --load-key ema --lora-ckpt ./ckpts/t2i/lora/porcelain
|
163 |
|
164 |
# Generate an image with other image sizes.
|
165 |
+
python sample_t2i.py --infer-mode fa --prompt "青花瓷风格,一只猫在追蝴蝶" --image-size 1280 768 --load-key ema --lora-ckpt ./ckpts/t2i/lora/porcelain
|
166 |
```
|
167 |
|
168 |
|