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