Correct the command line arguments
#1
by
seasnake
- opened
README.md
CHANGED
@@ -26,7 +26,7 @@ huggingface-cli download Tencent-Hunyuan/HYDiT-ControlNet --local-dir ./ckpts/t2
|
|
26 |
huggingface-cli download Tencent-Hunyuan/Distillation-v1.1 ./pytorch_model_distill.pt --local-dir ./ckpts/t2i/model
|
27 |
|
28 |
# Quick start
|
29 |
-
python3 sample_controlnet.py --no-enhance --load-key distill --infer-steps 50 --
|
30 |
```
|
31 |
|
32 |
Examples of condition input and ControlNet results are as follows:
|
@@ -157,19 +157,19 @@ You can use the following command line for inference.
|
|
157 |
a. Using canny ControlNet during inference
|
158 |
|
159 |
```bash
|
160 |
-
python3 sample_controlnet.py --no-enhance --load-key distill --infer-steps 50 --
|
161 |
```
|
162 |
|
163 |
b. Using pose ControlNet during inference
|
164 |
|
165 |
```bash
|
166 |
-
python3 sample_controlnet.py --no-enhance --load-key distill --infer-steps 50 --
|
167 |
```
|
168 |
|
169 |
c. Using depth ControlNet during inference
|
170 |
|
171 |
```bash
|
172 |
-
python3 sample_controlnet.py --no-enhance --load-key distill --infer-steps 50 --
|
173 |
```
|
174 |
|
175 |
|
|
|
26 |
huggingface-cli download Tencent-Hunyuan/Distillation-v1.1 ./pytorch_model_distill.pt --local-dir ./ckpts/t2i/model
|
27 |
|
28 |
# Quick start
|
29 |
+
python3 sample_controlnet.py --no-enhance --load-key distill --infer-steps 50 --control-type canny --prompt "在夜晚的酒店门前,一座古老的中国风格的狮子雕像矗立着,它的眼睛闪烁着光芒,仿佛在守护着这座建筑。背景是夜晚的酒店前,构图方式是特写,平视,居中构图。这张照片呈现了真实摄影风格,蕴含了中国雕塑文化,同时展现了神秘氛围" --condition-image-path controlnet/asset/input/canny.jpg --control-weight 1.0
|
30 |
```
|
31 |
|
32 |
Examples of condition input and ControlNet results are as follows:
|
|
|
157 |
a. Using canny ControlNet during inference
|
158 |
|
159 |
```bash
|
160 |
+
python3 sample_controlnet.py --no-enhance --load-key distill --infer-steps 50 --control-type canny --prompt "在夜晚的酒店门前,一座古老的中国风格的狮子雕像矗立着,它的眼睛闪烁着光芒,仿佛在守护着这座建筑。背景是夜晚的酒店前,构图方式是特写,平视,居中构图。这张照片呈现了真实摄影风格,蕴含了中国雕塑文化,同时展现了神秘氛围" --condition-image-path controlnet/asset/input/canny.jpg --control-weight 1.0
|
161 |
```
|
162 |
|
163 |
b. Using pose ControlNet during inference
|
164 |
|
165 |
```bash
|
166 |
+
python3 sample_controlnet.py --no-enhance --load-key distill --infer-steps 50 --control-type depth --prompt "在茂密的森林中,一只黑白相间的熊猫静静地坐在绿树红花中,周围是山川和海洋。背景是白天的森林,光线充足" --condition-image-path controlnet/asset/input/depth.jpg --control-weight 1.0
|
167 |
```
|
168 |
|
169 |
c. Using depth ControlNet during inference
|
170 |
|
171 |
```bash
|
172 |
+
python3 sample_controlnet.py --no-enhance --load-key distill --infer-steps 50 --control-type pose --prompt "一位亚洲女性,身穿绿色上衣,戴着紫色头巾和紫色围巾,站在黑板前。背景是黑板。照片采用近景、平视和居中构图的方式呈现真实摄影风格" --condition-image-path controlnet/asset/input/pose.jpg --control-weight 1.0
|
173 |
```
|
174 |
|
175 |
|