add gen_compare_guess_mode
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- gen_compare_guess_mode/README.md +162 -0
- gen_compare_guess_mode/gen_diffusers_image.py +72 -0
- gen_compare_guess_mode/gen_diffusers_image.sh +9 -0
- gen_compare_guess_mode/gen_markdown.py +45 -0
- gen_compare_guess_mode/gen_markdowns.sh +4 -0
- gen_compare_guess_mode/gen_reference_image.py +67 -0
- gen_compare_guess_mode/gen_reference_image.sh +9 -0
- gen_compare_guess_mode/output_images/diffusers/output_bird_canny_0.png +3 -0
- gen_compare_guess_mode/output_images/diffusers/output_bird_canny_0_gm.png +3 -0
- gen_compare_guess_mode/output_images/diffusers/output_bird_canny_0_gm_wp.png +3 -0
- gen_compare_guess_mode/output_images/diffusers/output_bird_canny_1.png +3 -0
- gen_compare_guess_mode/output_images/diffusers/output_bird_canny_1_gm.png +3 -0
- gen_compare_guess_mode/output_images/diffusers/output_bird_canny_1_gm_wp.png +3 -0
- gen_compare_guess_mode/output_images/diffusers/output_bird_canny_2.png +3 -0
- gen_compare_guess_mode/output_images/diffusers/output_bird_canny_2_gm.png +3 -0
- gen_compare_guess_mode/output_images/diffusers/output_bird_canny_2_gm_wp.png +3 -0
- gen_compare_guess_mode/output_images/diffusers/output_bird_canny_3.png +3 -0
- gen_compare_guess_mode/output_images/diffusers/output_bird_canny_3_gm.png +3 -0
- gen_compare_guess_mode/output_images/diffusers/output_bird_canny_3_gm_wp.png +3 -0
- gen_compare_guess_mode/output_images/diffusers/output_bird_depth_0.png +3 -0
- gen_compare_guess_mode/output_images/diffusers/output_bird_depth_0_gm.png +3 -0
- gen_compare_guess_mode/output_images/diffusers/output_bird_depth_0_gm_wp.png +3 -0
- gen_compare_guess_mode/output_images/diffusers/output_bird_depth_1.png +3 -0
- gen_compare_guess_mode/output_images/diffusers/output_bird_depth_1_gm.png +3 -0
- gen_compare_guess_mode/output_images/diffusers/output_bird_depth_1_gm_wp.png +3 -0
- gen_compare_guess_mode/output_images/diffusers/output_bird_depth_2.png +3 -0
- gen_compare_guess_mode/output_images/diffusers/output_bird_depth_2_gm.png +3 -0
- gen_compare_guess_mode/output_images/diffusers/output_bird_depth_2_gm_wp.png +3 -0
- gen_compare_guess_mode/output_images/diffusers/output_bird_depth_3.png +3 -0
- gen_compare_guess_mode/output_images/diffusers/output_bird_depth_3_gm.png +3 -0
- gen_compare_guess_mode/output_images/diffusers/output_bird_depth_3_gm_wp.png +3 -0
- gen_compare_guess_mode/output_images/diffusers/output_bird_hed_0.png +3 -0
- gen_compare_guess_mode/output_images/diffusers/output_bird_hed_0_gm.png +3 -0
- gen_compare_guess_mode/output_images/diffusers/output_bird_hed_0_gm_wp.png +3 -0
- gen_compare_guess_mode/output_images/diffusers/output_bird_hed_1.png +3 -0
- gen_compare_guess_mode/output_images/diffusers/output_bird_hed_1_gm.png +3 -0
- gen_compare_guess_mode/output_images/diffusers/output_bird_hed_1_gm_wp.png +3 -0
- gen_compare_guess_mode/output_images/diffusers/output_bird_hed_2.png +3 -0
- gen_compare_guess_mode/output_images/diffusers/output_bird_hed_2_gm.png +3 -0
- gen_compare_guess_mode/output_images/diffusers/output_bird_hed_2_gm_wp.png +3 -0
- gen_compare_guess_mode/output_images/diffusers/output_bird_hed_3.png +3 -0
- gen_compare_guess_mode/output_images/diffusers/output_bird_hed_3_gm.png +3 -0
- gen_compare_guess_mode/output_images/diffusers/output_bird_hed_3_gm_wp.png +3 -0
- gen_compare_guess_mode/output_images/diffusers/output_bird_mlsd_0.png +3 -0
- gen_compare_guess_mode/output_images/diffusers/output_bird_mlsd_0_gm.png +3 -0
- gen_compare_guess_mode/output_images/diffusers/output_bird_mlsd_0_gm_wp.png +3 -0
- gen_compare_guess_mode/output_images/diffusers/output_bird_mlsd_1.png +3 -0
- gen_compare_guess_mode/output_images/diffusers/output_bird_mlsd_1_gm.png +3 -0
- gen_compare_guess_mode/output_images/diffusers/output_bird_mlsd_1_gm_wp.png +3 -0
- gen_compare_guess_mode/output_images/diffusers/output_bird_mlsd_2.png +3 -0
gen_compare_guess_mode/README.md
ADDED
@@ -0,0 +1,162 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# ControlNet Generation Comparison
|
2 |
+
|
3 |
+
## ControlNet canny
|
4 |
+
|
5 |
+
|seed|ref|diffusers|ref guess_mode|diffusers guess_mode|
|
6 |
+
|---|---|---|---|---|---|
|
7 |
+
|0|<a href="./output_images/ref/output_bird_canny_0.png"><img width="128" src="./output_images/ref/output_bird_canny_0.png"/></a>|<a href="./output_images/diffusers/output_bird_canny_0.png"><img width="128" src="./output_images/diffusers/output_bird_canny_0.png"/></a>|<a href="./output_images/ref/output_bird_canny_0_gm.png"><img width="128" src="./output_images/ref/output_bird_canny_0_gm.png"/></a>|<a href="./output_images/diffusers/output_bird_canny_0_gm.png"><img width="128" src="./output_images/diffusers/output_bird_canny_0_gm.png"/></a>|
|
8 |
+
|1|<a href="./output_images/ref/output_bird_canny_1.png"><img width="128" src="./output_images/ref/output_bird_canny_1.png"/></a>|<a href="./output_images/diffusers/output_bird_canny_1.png"><img width="128" src="./output_images/diffusers/output_bird_canny_1.png"/></a>|<a href="./output_images/ref/output_bird_canny_1_gm.png"><img width="128" src="./output_images/ref/output_bird_canny_1_gm.png"/></a>|<a href="./output_images/diffusers/output_bird_canny_1_gm.png"><img width="128" src="./output_images/diffusers/output_bird_canny_1_gm.png"/></a>|
|
9 |
+
|2|<a href="./output_images/ref/output_bird_canny_2.png"><img width="128" src="./output_images/ref/output_bird_canny_2.png"/></a>|<a href="./output_images/diffusers/output_bird_canny_2.png"><img width="128" src="./output_images/diffusers/output_bird_canny_2.png"/></a>|<a href="./output_images/ref/output_bird_canny_2_gm.png"><img width="128" src="./output_images/ref/output_bird_canny_2_gm.png"/></a>|<a href="./output_images/diffusers/output_bird_canny_2_gm.png"><img width="128" src="./output_images/diffusers/output_bird_canny_2_gm.png"/></a>|
|
10 |
+
|3|<a href="./output_images/ref/output_bird_canny_3.png"><img width="128" src="./output_images/ref/output_bird_canny_3.png"/></a>|<a href="./output_images/diffusers/output_bird_canny_3.png"><img width="128" src="./output_images/diffusers/output_bird_canny_3.png"/></a>|<a href="./output_images/ref/output_bird_canny_3_gm.png"><img width="128" src="./output_images/ref/output_bird_canny_3_gm.png"/></a>|<a href="./output_images/diffusers/output_bird_canny_3_gm.png"><img width="128" src="./output_images/diffusers/output_bird_canny_3_gm.png"/></a>|
|
11 |
+
|0|<a href="./output_images/ref/output_human_canny_0.png"><img width="128" src="./output_images/ref/output_human_canny_0.png"/></a>|<a href="./output_images/diffusers/output_human_canny_0.png"><img width="128" src="./output_images/diffusers/output_human_canny_0.png"/></a>|<a href="./output_images/ref/output_human_canny_0_gm.png"><img width="128" src="./output_images/ref/output_human_canny_0_gm.png"/></a>|<a href="./output_images/diffusers/output_human_canny_0_gm.png"><img width="128" src="./output_images/diffusers/output_human_canny_0_gm.png"/></a>|
|
12 |
+
|1|<a href="./output_images/ref/output_human_canny_1.png"><img width="128" src="./output_images/ref/output_human_canny_1.png"/></a>|<a href="./output_images/diffusers/output_human_canny_1.png"><img width="128" src="./output_images/diffusers/output_human_canny_1.png"/></a>|<a href="./output_images/ref/output_human_canny_1_gm.png"><img width="128" src="./output_images/ref/output_human_canny_1_gm.png"/></a>|<a href="./output_images/diffusers/output_human_canny_1_gm.png"><img width="128" src="./output_images/diffusers/output_human_canny_1_gm.png"/></a>|
|
13 |
+
|2|<a href="./output_images/ref/output_human_canny_2.png"><img width="128" src="./output_images/ref/output_human_canny_2.png"/></a>|<a href="./output_images/diffusers/output_human_canny_2.png"><img width="128" src="./output_images/diffusers/output_human_canny_2.png"/></a>|<a href="./output_images/ref/output_human_canny_2_gm.png"><img width="128" src="./output_images/ref/output_human_canny_2_gm.png"/></a>|<a href="./output_images/diffusers/output_human_canny_2_gm.png"><img width="128" src="./output_images/diffusers/output_human_canny_2_gm.png"/></a>|
|
14 |
+
|3|<a href="./output_images/ref/output_human_canny_3.png"><img width="128" src="./output_images/ref/output_human_canny_3.png"/></a>|<a href="./output_images/diffusers/output_human_canny_3.png"><img width="128" src="./output_images/diffusers/output_human_canny_3.png"/></a>|<a href="./output_images/ref/output_human_canny_3_gm.png"><img width="128" src="./output_images/ref/output_human_canny_3_gm.png"/></a>|<a href="./output_images/diffusers/output_human_canny_3_gm.png"><img width="128" src="./output_images/diffusers/output_human_canny_3_gm.png"/></a>|
|
15 |
+
|0|<a href="./output_images/ref/output_room_canny_0.png"><img width="128" src="./output_images/ref/output_room_canny_0.png"/></a>|<a href="./output_images/diffusers/output_room_canny_0.png"><img width="128" src="./output_images/diffusers/output_room_canny_0.png"/></a>|<a href="./output_images/ref/output_room_canny_0_gm.png"><img width="128" src="./output_images/ref/output_room_canny_0_gm.png"/></a>|<a href="./output_images/diffusers/output_room_canny_0_gm.png"><img width="128" src="./output_images/diffusers/output_room_canny_0_gm.png"/></a>|
|
16 |
+
|1|<a href="./output_images/ref/output_room_canny_1.png"><img width="128" src="./output_images/ref/output_room_canny_1.png"/></a>|<a href="./output_images/diffusers/output_room_canny_1.png"><img width="128" src="./output_images/diffusers/output_room_canny_1.png"/></a>|<a href="./output_images/ref/output_room_canny_1_gm.png"><img width="128" src="./output_images/ref/output_room_canny_1_gm.png"/></a>|<a href="./output_images/diffusers/output_room_canny_1_gm.png"><img width="128" src="./output_images/diffusers/output_room_canny_1_gm.png"/></a>|
|
17 |
+
|2|<a href="./output_images/ref/output_room_canny_2.png"><img width="128" src="./output_images/ref/output_room_canny_2.png"/></a>|<a href="./output_images/diffusers/output_room_canny_2.png"><img width="128" src="./output_images/diffusers/output_room_canny_2.png"/></a>|<a href="./output_images/ref/output_room_canny_2_gm.png"><img width="128" src="./output_images/ref/output_room_canny_2_gm.png"/></a>|<a href="./output_images/diffusers/output_room_canny_2_gm.png"><img width="128" src="./output_images/diffusers/output_room_canny_2_gm.png"/></a>|
|
18 |
+
|3|<a href="./output_images/ref/output_room_canny_3.png"><img width="128" src="./output_images/ref/output_room_canny_3.png"/></a>|<a href="./output_images/diffusers/output_room_canny_3.png"><img width="128" src="./output_images/diffusers/output_room_canny_3.png"/></a>|<a href="./output_images/ref/output_room_canny_3_gm.png"><img width="128" src="./output_images/ref/output_room_canny_3_gm.png"/></a>|<a href="./output_images/diffusers/output_room_canny_3_gm.png"><img width="128" src="./output_images/diffusers/output_room_canny_3_gm.png"/></a>|
|
19 |
+
|0|<a href="./output_images/ref/output_vermeer_canny_0.png"><img width="128" src="./output_images/ref/output_vermeer_canny_0.png"/></a>|<a href="./output_images/diffusers/output_vermeer_canny_0.png"><img width="128" src="./output_images/diffusers/output_vermeer_canny_0.png"/></a>|<a href="./output_images/ref/output_vermeer_canny_0_gm.png"><img width="128" src="./output_images/ref/output_vermeer_canny_0_gm.png"/></a>|<a href="./output_images/diffusers/output_vermeer_canny_0_gm.png"><img width="128" src="./output_images/diffusers/output_vermeer_canny_0_gm.png"/></a>|
|
20 |
+
|1|<a href="./output_images/ref/output_vermeer_canny_1.png"><img width="128" src="./output_images/ref/output_vermeer_canny_1.png"/></a>|<a href="./output_images/diffusers/output_vermeer_canny_1.png"><img width="128" src="./output_images/diffusers/output_vermeer_canny_1.png"/></a>|<a href="./output_images/ref/output_vermeer_canny_1_gm.png"><img width="128" src="./output_images/ref/output_vermeer_canny_1_gm.png"/></a>|<a href="./output_images/diffusers/output_vermeer_canny_1_gm.png"><img width="128" src="./output_images/diffusers/output_vermeer_canny_1_gm.png"/></a>|
|
21 |
+
|2|<a href="./output_images/ref/output_vermeer_canny_2.png"><img width="128" src="./output_images/ref/output_vermeer_canny_2.png"/></a>|<a href="./output_images/diffusers/output_vermeer_canny_2.png"><img width="128" src="./output_images/diffusers/output_vermeer_canny_2.png"/></a>|<a href="./output_images/ref/output_vermeer_canny_2_gm.png"><img width="128" src="./output_images/ref/output_vermeer_canny_2_gm.png"/></a>|<a href="./output_images/diffusers/output_vermeer_canny_2_gm.png"><img width="128" src="./output_images/diffusers/output_vermeer_canny_2_gm.png"/></a>|
|
22 |
+
|3|<a href="./output_images/ref/output_vermeer_canny_3.png"><img width="128" src="./output_images/ref/output_vermeer_canny_3.png"/></a>|<a href="./output_images/diffusers/output_vermeer_canny_3.png"><img width="128" src="./output_images/diffusers/output_vermeer_canny_3.png"/></a>|<a href="./output_images/ref/output_vermeer_canny_3_gm.png"><img width="128" src="./output_images/ref/output_vermeer_canny_3_gm.png"/></a>|<a href="./output_images/diffusers/output_vermeer_canny_3_gm.png"><img width="128" src="./output_images/diffusers/output_vermeer_canny_3_gm.png"/></a>|
|
23 |
+
## ControlNet normal
|
24 |
+
|
25 |
+
|seed|ref|diffusers|ref guess_mode|diffusers guess_mode|
|
26 |
+
|---|---|---|---|---|---|
|
27 |
+
|0|<a href="./output_images/ref/output_bird_normal_0.png"><img width="128" src="./output_images/ref/output_bird_normal_0.png"/></a>|<a href="./output_images/diffusers/output_bird_normal_0.png"><img width="128" src="./output_images/diffusers/output_bird_normal_0.png"/></a>|<a href="./output_images/ref/output_bird_normal_0_gm.png"><img width="128" src="./output_images/ref/output_bird_normal_0_gm.png"/></a>|<a href="./output_images/diffusers/output_bird_normal_0_gm.png"><img width="128" src="./output_images/diffusers/output_bird_normal_0_gm.png"/></a>|
|
28 |
+
|1|<a href="./output_images/ref/output_bird_normal_1.png"><img width="128" src="./output_images/ref/output_bird_normal_1.png"/></a>|<a href="./output_images/diffusers/output_bird_normal_1.png"><img width="128" src="./output_images/diffusers/output_bird_normal_1.png"/></a>|<a href="./output_images/ref/output_bird_normal_1_gm.png"><img width="128" src="./output_images/ref/output_bird_normal_1_gm.png"/></a>|<a href="./output_images/diffusers/output_bird_normal_1_gm.png"><img width="128" src="./output_images/diffusers/output_bird_normal_1_gm.png"/></a>|
|
29 |
+
|2|<a href="./output_images/ref/output_bird_normal_2.png"><img width="128" src="./output_images/ref/output_bird_normal_2.png"/></a>|<a href="./output_images/diffusers/output_bird_normal_2.png"><img width="128" src="./output_images/diffusers/output_bird_normal_2.png"/></a>|<a href="./output_images/ref/output_bird_normal_2_gm.png"><img width="128" src="./output_images/ref/output_bird_normal_2_gm.png"/></a>|<a href="./output_images/diffusers/output_bird_normal_2_gm.png"><img width="128" src="./output_images/diffusers/output_bird_normal_2_gm.png"/></a>|
|
30 |
+
|3|<a href="./output_images/ref/output_bird_normal_3.png"><img width="128" src="./output_images/ref/output_bird_normal_3.png"/></a>|<a href="./output_images/diffusers/output_bird_normal_3.png"><img width="128" src="./output_images/diffusers/output_bird_normal_3.png"/></a>|<a href="./output_images/ref/output_bird_normal_3_gm.png"><img width="128" src="./output_images/ref/output_bird_normal_3_gm.png"/></a>|<a href="./output_images/diffusers/output_bird_normal_3_gm.png"><img width="128" src="./output_images/diffusers/output_bird_normal_3_gm.png"/></a>|
|
31 |
+
|0|<a href="./output_images/ref/output_human_normal_0.png"><img width="128" src="./output_images/ref/output_human_normal_0.png"/></a>|<a href="./output_images/diffusers/output_human_normal_0.png"><img width="128" src="./output_images/diffusers/output_human_normal_0.png"/></a>|<a href="./output_images/ref/output_human_normal_0_gm.png"><img width="128" src="./output_images/ref/output_human_normal_0_gm.png"/></a>|<a href="./output_images/diffusers/output_human_normal_0_gm.png"><img width="128" src="./output_images/diffusers/output_human_normal_0_gm.png"/></a>|
|
32 |
+
|1|<a href="./output_images/ref/output_human_normal_1.png"><img width="128" src="./output_images/ref/output_human_normal_1.png"/></a>|<a href="./output_images/diffusers/output_human_normal_1.png"><img width="128" src="./output_images/diffusers/output_human_normal_1.png"/></a>|<a href="./output_images/ref/output_human_normal_1_gm.png"><img width="128" src="./output_images/ref/output_human_normal_1_gm.png"/></a>|<a href="./output_images/diffusers/output_human_normal_1_gm.png"><img width="128" src="./output_images/diffusers/output_human_normal_1_gm.png"/></a>|
|
33 |
+
|2|<a href="./output_images/ref/output_human_normal_2.png"><img width="128" src="./output_images/ref/output_human_normal_2.png"/></a>|<a href="./output_images/diffusers/output_human_normal_2.png"><img width="128" src="./output_images/diffusers/output_human_normal_2.png"/></a>|<a href="./output_images/ref/output_human_normal_2_gm.png"><img width="128" src="./output_images/ref/output_human_normal_2_gm.png"/></a>|<a href="./output_images/diffusers/output_human_normal_2_gm.png"><img width="128" src="./output_images/diffusers/output_human_normal_2_gm.png"/></a>|
|
34 |
+
|3|<a href="./output_images/ref/output_human_normal_3.png"><img width="128" src="./output_images/ref/output_human_normal_3.png"/></a>|<a href="./output_images/diffusers/output_human_normal_3.png"><img width="128" src="./output_images/diffusers/output_human_normal_3.png"/></a>|<a href="./output_images/ref/output_human_normal_3_gm.png"><img width="128" src="./output_images/ref/output_human_normal_3_gm.png"/></a>|<a href="./output_images/diffusers/output_human_normal_3_gm.png"><img width="128" src="./output_images/diffusers/output_human_normal_3_gm.png"/></a>|
|
35 |
+
|0|<a href="./output_images/ref/output_room_normal_0.png"><img width="128" src="./output_images/ref/output_room_normal_0.png"/></a>|<a href="./output_images/diffusers/output_room_normal_0.png"><img width="128" src="./output_images/diffusers/output_room_normal_0.png"/></a>|<a href="./output_images/ref/output_room_normal_0_gm.png"><img width="128" src="./output_images/ref/output_room_normal_0_gm.png"/></a>|<a href="./output_images/diffusers/output_room_normal_0_gm.png"><img width="128" src="./output_images/diffusers/output_room_normal_0_gm.png"/></a>|
|
36 |
+
|1|<a href="./output_images/ref/output_room_normal_1.png"><img width="128" src="./output_images/ref/output_room_normal_1.png"/></a>|<a href="./output_images/diffusers/output_room_normal_1.png"><img width="128" src="./output_images/diffusers/output_room_normal_1.png"/></a>|<a href="./output_images/ref/output_room_normal_1_gm.png"><img width="128" src="./output_images/ref/output_room_normal_1_gm.png"/></a>|<a href="./output_images/diffusers/output_room_normal_1_gm.png"><img width="128" src="./output_images/diffusers/output_room_normal_1_gm.png"/></a>|
|
37 |
+
|2|<a href="./output_images/ref/output_room_normal_2.png"><img width="128" src="./output_images/ref/output_room_normal_2.png"/></a>|<a href="./output_images/diffusers/output_room_normal_2.png"><img width="128" src="./output_images/diffusers/output_room_normal_2.png"/></a>|<a href="./output_images/ref/output_room_normal_2_gm.png"><img width="128" src="./output_images/ref/output_room_normal_2_gm.png"/></a>|<a href="./output_images/diffusers/output_room_normal_2_gm.png"><img width="128" src="./output_images/diffusers/output_room_normal_2_gm.png"/></a>|
|
38 |
+
|3|<a href="./output_images/ref/output_room_normal_3.png"><img width="128" src="./output_images/ref/output_room_normal_3.png"/></a>|<a href="./output_images/diffusers/output_room_normal_3.png"><img width="128" src="./output_images/diffusers/output_room_normal_3.png"/></a>|<a href="./output_images/ref/output_room_normal_3_gm.png"><img width="128" src="./output_images/ref/output_room_normal_3_gm.png"/></a>|<a href="./output_images/diffusers/output_room_normal_3_gm.png"><img width="128" src="./output_images/diffusers/output_room_normal_3_gm.png"/></a>|
|
39 |
+
|0|<a href="./output_images/ref/output_vermeer_normal_0.png"><img width="128" src="./output_images/ref/output_vermeer_normal_0.png"/></a>|<a href="./output_images/diffusers/output_vermeer_normal_0.png"><img width="128" src="./output_images/diffusers/output_vermeer_normal_0.png"/></a>|<a href="./output_images/ref/output_vermeer_normal_0_gm.png"><img width="128" src="./output_images/ref/output_vermeer_normal_0_gm.png"/></a>|<a href="./output_images/diffusers/output_vermeer_normal_0_gm.png"><img width="128" src="./output_images/diffusers/output_vermeer_normal_0_gm.png"/></a>|
|
40 |
+
|1|<a href="./output_images/ref/output_vermeer_normal_1.png"><img width="128" src="./output_images/ref/output_vermeer_normal_1.png"/></a>|<a href="./output_images/diffusers/output_vermeer_normal_1.png"><img width="128" src="./output_images/diffusers/output_vermeer_normal_1.png"/></a>|<a href="./output_images/ref/output_vermeer_normal_1_gm.png"><img width="128" src="./output_images/ref/output_vermeer_normal_1_gm.png"/></a>|<a href="./output_images/diffusers/output_vermeer_normal_1_gm.png"><img width="128" src="./output_images/diffusers/output_vermeer_normal_1_gm.png"/></a>|
|
41 |
+
|2|<a href="./output_images/ref/output_vermeer_normal_2.png"><img width="128" src="./output_images/ref/output_vermeer_normal_2.png"/></a>|<a href="./output_images/diffusers/output_vermeer_normal_2.png"><img width="128" src="./output_images/diffusers/output_vermeer_normal_2.png"/></a>|<a href="./output_images/ref/output_vermeer_normal_2_gm.png"><img width="128" src="./output_images/ref/output_vermeer_normal_2_gm.png"/></a>|<a href="./output_images/diffusers/output_vermeer_normal_2_gm.png"><img width="128" src="./output_images/diffusers/output_vermeer_normal_2_gm.png"/></a>|
|
42 |
+
|3|<a href="./output_images/ref/output_vermeer_normal_3.png"><img width="128" src="./output_images/ref/output_vermeer_normal_3.png"/></a>|<a href="./output_images/diffusers/output_vermeer_normal_3.png"><img width="128" src="./output_images/diffusers/output_vermeer_normal_3.png"/></a>|<a href="./output_images/ref/output_vermeer_normal_3_gm.png"><img width="128" src="./output_images/ref/output_vermeer_normal_3_gm.png"/></a>|<a href="./output_images/diffusers/output_vermeer_normal_3_gm.png"><img width="128" src="./output_images/diffusers/output_vermeer_normal_3_gm.png"/></a>|
|
43 |
+
## ControlNet depth
|
44 |
+
|
45 |
+
|seed|ref|diffusers|ref guess_mode|diffusers guess_mode|
|
46 |
+
|---|---|---|---|---|---|
|
47 |
+
|0|<a href="./output_images/ref/output_bird_depth_0.png"><img width="128" src="./output_images/ref/output_bird_depth_0.png"/></a>|<a href="./output_images/diffusers/output_bird_depth_0.png"><img width="128" src="./output_images/diffusers/output_bird_depth_0.png"/></a>|<a href="./output_images/ref/output_bird_depth_0_gm.png"><img width="128" src="./output_images/ref/output_bird_depth_0_gm.png"/></a>|<a href="./output_images/diffusers/output_bird_depth_0_gm.png"><img width="128" src="./output_images/diffusers/output_bird_depth_0_gm.png"/></a>|
|
48 |
+
|1|<a href="./output_images/ref/output_bird_depth_1.png"><img width="128" src="./output_images/ref/output_bird_depth_1.png"/></a>|<a href="./output_images/diffusers/output_bird_depth_1.png"><img width="128" src="./output_images/diffusers/output_bird_depth_1.png"/></a>|<a href="./output_images/ref/output_bird_depth_1_gm.png"><img width="128" src="./output_images/ref/output_bird_depth_1_gm.png"/></a>|<a href="./output_images/diffusers/output_bird_depth_1_gm.png"><img width="128" src="./output_images/diffusers/output_bird_depth_1_gm.png"/></a>|
|
49 |
+
|2|<a href="./output_images/ref/output_bird_depth_2.png"><img width="128" src="./output_images/ref/output_bird_depth_2.png"/></a>|<a href="./output_images/diffusers/output_bird_depth_2.png"><img width="128" src="./output_images/diffusers/output_bird_depth_2.png"/></a>|<a href="./output_images/ref/output_bird_depth_2_gm.png"><img width="128" src="./output_images/ref/output_bird_depth_2_gm.png"/></a>|<a href="./output_images/diffusers/output_bird_depth_2_gm.png"><img width="128" src="./output_images/diffusers/output_bird_depth_2_gm.png"/></a>|
|
50 |
+
|3|<a href="./output_images/ref/output_bird_depth_3.png"><img width="128" src="./output_images/ref/output_bird_depth_3.png"/></a>|<a href="./output_images/diffusers/output_bird_depth_3.png"><img width="128" src="./output_images/diffusers/output_bird_depth_3.png"/></a>|<a href="./output_images/ref/output_bird_depth_3_gm.png"><img width="128" src="./output_images/ref/output_bird_depth_3_gm.png"/></a>|<a href="./output_images/diffusers/output_bird_depth_3_gm.png"><img width="128" src="./output_images/diffusers/output_bird_depth_3_gm.png"/></a>|
|
51 |
+
|0|<a href="./output_images/ref/output_human_depth_0.png"><img width="128" src="./output_images/ref/output_human_depth_0.png"/></a>|<a href="./output_images/diffusers/output_human_depth_0.png"><img width="128" src="./output_images/diffusers/output_human_depth_0.png"/></a>|<a href="./output_images/ref/output_human_depth_0_gm.png"><img width="128" src="./output_images/ref/output_human_depth_0_gm.png"/></a>|<a href="./output_images/diffusers/output_human_depth_0_gm.png"><img width="128" src="./output_images/diffusers/output_human_depth_0_gm.png"/></a>|
|
52 |
+
|1|<a href="./output_images/ref/output_human_depth_1.png"><img width="128" src="./output_images/ref/output_human_depth_1.png"/></a>|<a href="./output_images/diffusers/output_human_depth_1.png"><img width="128" src="./output_images/diffusers/output_human_depth_1.png"/></a>|<a href="./output_images/ref/output_human_depth_1_gm.png"><img width="128" src="./output_images/ref/output_human_depth_1_gm.png"/></a>|<a href="./output_images/diffusers/output_human_depth_1_gm.png"><img width="128" src="./output_images/diffusers/output_human_depth_1_gm.png"/></a>|
|
53 |
+
|2|<a href="./output_images/ref/output_human_depth_2.png"><img width="128" src="./output_images/ref/output_human_depth_2.png"/></a>|<a href="./output_images/diffusers/output_human_depth_2.png"><img width="128" src="./output_images/diffusers/output_human_depth_2.png"/></a>|<a href="./output_images/ref/output_human_depth_2_gm.png"><img width="128" src="./output_images/ref/output_human_depth_2_gm.png"/></a>|<a href="./output_images/diffusers/output_human_depth_2_gm.png"><img width="128" src="./output_images/diffusers/output_human_depth_2_gm.png"/></a>|
|
54 |
+
|3|<a href="./output_images/ref/output_human_depth_3.png"><img width="128" src="./output_images/ref/output_human_depth_3.png"/></a>|<a href="./output_images/diffusers/output_human_depth_3.png"><img width="128" src="./output_images/diffusers/output_human_depth_3.png"/></a>|<a href="./output_images/ref/output_human_depth_3_gm.png"><img width="128" src="./output_images/ref/output_human_depth_3_gm.png"/></a>|<a href="./output_images/diffusers/output_human_depth_3_gm.png"><img width="128" src="./output_images/diffusers/output_human_depth_3_gm.png"/></a>|
|
55 |
+
|0|<a href="./output_images/ref/output_room_depth_0.png"><img width="128" src="./output_images/ref/output_room_depth_0.png"/></a>|<a href="./output_images/diffusers/output_room_depth_0.png"><img width="128" src="./output_images/diffusers/output_room_depth_0.png"/></a>|<a href="./output_images/ref/output_room_depth_0_gm.png"><img width="128" src="./output_images/ref/output_room_depth_0_gm.png"/></a>|<a href="./output_images/diffusers/output_room_depth_0_gm.png"><img width="128" src="./output_images/diffusers/output_room_depth_0_gm.png"/></a>|
|
56 |
+
|1|<a href="./output_images/ref/output_room_depth_1.png"><img width="128" src="./output_images/ref/output_room_depth_1.png"/></a>|<a href="./output_images/diffusers/output_room_depth_1.png"><img width="128" src="./output_images/diffusers/output_room_depth_1.png"/></a>|<a href="./output_images/ref/output_room_depth_1_gm.png"><img width="128" src="./output_images/ref/output_room_depth_1_gm.png"/></a>|<a href="./output_images/diffusers/output_room_depth_1_gm.png"><img width="128" src="./output_images/diffusers/output_room_depth_1_gm.png"/></a>|
|
57 |
+
|2|<a href="./output_images/ref/output_room_depth_2.png"><img width="128" src="./output_images/ref/output_room_depth_2.png"/></a>|<a href="./output_images/diffusers/output_room_depth_2.png"><img width="128" src="./output_images/diffusers/output_room_depth_2.png"/></a>|<a href="./output_images/ref/output_room_depth_2_gm.png"><img width="128" src="./output_images/ref/output_room_depth_2_gm.png"/></a>|<a href="./output_images/diffusers/output_room_depth_2_gm.png"><img width="128" src="./output_images/diffusers/output_room_depth_2_gm.png"/></a>|
|
58 |
+
|3|<a href="./output_images/ref/output_room_depth_3.png"><img width="128" src="./output_images/ref/output_room_depth_3.png"/></a>|<a href="./output_images/diffusers/output_room_depth_3.png"><img width="128" src="./output_images/diffusers/output_room_depth_3.png"/></a>|<a href="./output_images/ref/output_room_depth_3_gm.png"><img width="128" src="./output_images/ref/output_room_depth_3_gm.png"/></a>|<a href="./output_images/diffusers/output_room_depth_3_gm.png"><img width="128" src="./output_images/diffusers/output_room_depth_3_gm.png"/></a>|
|
59 |
+
|0|<a href="./output_images/ref/output_vermeer_depth_0.png"><img width="128" src="./output_images/ref/output_vermeer_depth_0.png"/></a>|<a href="./output_images/diffusers/output_vermeer_depth_0.png"><img width="128" src="./output_images/diffusers/output_vermeer_depth_0.png"/></a>|<a href="./output_images/ref/output_vermeer_depth_0_gm.png"><img width="128" src="./output_images/ref/output_vermeer_depth_0_gm.png"/></a>|<a href="./output_images/diffusers/output_vermeer_depth_0_gm.png"><img width="128" src="./output_images/diffusers/output_vermeer_depth_0_gm.png"/></a>|
|
60 |
+
|1|<a href="./output_images/ref/output_vermeer_depth_1.png"><img width="128" src="./output_images/ref/output_vermeer_depth_1.png"/></a>|<a href="./output_images/diffusers/output_vermeer_depth_1.png"><img width="128" src="./output_images/diffusers/output_vermeer_depth_1.png"/></a>|<a href="./output_images/ref/output_vermeer_depth_1_gm.png"><img width="128" src="./output_images/ref/output_vermeer_depth_1_gm.png"/></a>|<a href="./output_images/diffusers/output_vermeer_depth_1_gm.png"><img width="128" src="./output_images/diffusers/output_vermeer_depth_1_gm.png"/></a>|
|
61 |
+
|2|<a href="./output_images/ref/output_vermeer_depth_2.png"><img width="128" src="./output_images/ref/output_vermeer_depth_2.png"/></a>|<a href="./output_images/diffusers/output_vermeer_depth_2.png"><img width="128" src="./output_images/diffusers/output_vermeer_depth_2.png"/></a>|<a href="./output_images/ref/output_vermeer_depth_2_gm.png"><img width="128" src="./output_images/ref/output_vermeer_depth_2_gm.png"/></a>|<a href="./output_images/diffusers/output_vermeer_depth_2_gm.png"><img width="128" src="./output_images/diffusers/output_vermeer_depth_2_gm.png"/></a>|
|
62 |
+
|3|<a href="./output_images/ref/output_vermeer_depth_3.png"><img width="128" src="./output_images/ref/output_vermeer_depth_3.png"/></a>|<a href="./output_images/diffusers/output_vermeer_depth_3.png"><img width="128" src="./output_images/diffusers/output_vermeer_depth_3.png"/></a>|<a href="./output_images/ref/output_vermeer_depth_3_gm.png"><img width="128" src="./output_images/ref/output_vermeer_depth_3_gm.png"/></a>|<a href="./output_images/diffusers/output_vermeer_depth_3_gm.png"><img width="128" src="./output_images/diffusers/output_vermeer_depth_3_gm.png"/></a>|
|
63 |
+
## ControlNet openpose
|
64 |
+
|
65 |
+
|seed|ref|diffusers|ref guess_mode|diffusers guess_mode|
|
66 |
+
|---|---|---|---|---|---|
|
67 |
+
|0|<a href="./output_images/ref/output_bird_openpose_0.png"><img width="128" src="./output_images/ref/output_bird_openpose_0.png"/></a>|<a href="./output_images/diffusers/output_bird_openpose_0.png"><img width="128" src="./output_images/diffusers/output_bird_openpose_0.png"/></a>|<a href="./output_images/ref/output_bird_openpose_0_gm.png"><img width="128" src="./output_images/ref/output_bird_openpose_0_gm.png"/></a>|<a href="./output_images/diffusers/output_bird_openpose_0_gm.png"><img width="128" src="./output_images/diffusers/output_bird_openpose_0_gm.png"/></a>|
|
68 |
+
|1|<a href="./output_images/ref/output_bird_openpose_1.png"><img width="128" src="./output_images/ref/output_bird_openpose_1.png"/></a>|<a href="./output_images/diffusers/output_bird_openpose_1.png"><img width="128" src="./output_images/diffusers/output_bird_openpose_1.png"/></a>|<a href="./output_images/ref/output_bird_openpose_1_gm.png"><img width="128" src="./output_images/ref/output_bird_openpose_1_gm.png"/></a>|<a href="./output_images/diffusers/output_bird_openpose_1_gm.png"><img width="128" src="./output_images/diffusers/output_bird_openpose_1_gm.png"/></a>|
|
69 |
+
|2|<a href="./output_images/ref/output_bird_openpose_2.png"><img width="128" src="./output_images/ref/output_bird_openpose_2.png"/></a>|<a href="./output_images/diffusers/output_bird_openpose_2.png"><img width="128" src="./output_images/diffusers/output_bird_openpose_2.png"/></a>|<a href="./output_images/ref/output_bird_openpose_2_gm.png"><img width="128" src="./output_images/ref/output_bird_openpose_2_gm.png"/></a>|<a href="./output_images/diffusers/output_bird_openpose_2_gm.png"><img width="128" src="./output_images/diffusers/output_bird_openpose_2_gm.png"/></a>|
|
70 |
+
|3|<a href="./output_images/ref/output_bird_openpose_3.png"><img width="128" src="./output_images/ref/output_bird_openpose_3.png"/></a>|<a href="./output_images/diffusers/output_bird_openpose_3.png"><img width="128" src="./output_images/diffusers/output_bird_openpose_3.png"/></a>|<a href="./output_images/ref/output_bird_openpose_3_gm.png"><img width="128" src="./output_images/ref/output_bird_openpose_3_gm.png"/></a>|<a href="./output_images/diffusers/output_bird_openpose_3_gm.png"><img width="128" src="./output_images/diffusers/output_bird_openpose_3_gm.png"/></a>|
|
71 |
+
|0|<a href="./output_images/ref/output_human_openpose_0.png"><img width="128" src="./output_images/ref/output_human_openpose_0.png"/></a>|<a href="./output_images/diffusers/output_human_openpose_0.png"><img width="128" src="./output_images/diffusers/output_human_openpose_0.png"/></a>|<a href="./output_images/ref/output_human_openpose_0_gm.png"><img width="128" src="./output_images/ref/output_human_openpose_0_gm.png"/></a>|<a href="./output_images/diffusers/output_human_openpose_0_gm.png"><img width="128" src="./output_images/diffusers/output_human_openpose_0_gm.png"/></a>|
|
72 |
+
|1|<a href="./output_images/ref/output_human_openpose_1.png"><img width="128" src="./output_images/ref/output_human_openpose_1.png"/></a>|<a href="./output_images/diffusers/output_human_openpose_1.png"><img width="128" src="./output_images/diffusers/output_human_openpose_1.png"/></a>|<a href="./output_images/ref/output_human_openpose_1_gm.png"><img width="128" src="./output_images/ref/output_human_openpose_1_gm.png"/></a>|<a href="./output_images/diffusers/output_human_openpose_1_gm.png"><img width="128" src="./output_images/diffusers/output_human_openpose_1_gm.png"/></a>|
|
73 |
+
|2|<a href="./output_images/ref/output_human_openpose_2.png"><img width="128" src="./output_images/ref/output_human_openpose_2.png"/></a>|<a href="./output_images/diffusers/output_human_openpose_2.png"><img width="128" src="./output_images/diffusers/output_human_openpose_2.png"/></a>|<a href="./output_images/ref/output_human_openpose_2_gm.png"><img width="128" src="./output_images/ref/output_human_openpose_2_gm.png"/></a>|<a href="./output_images/diffusers/output_human_openpose_2_gm.png"><img width="128" src="./output_images/diffusers/output_human_openpose_2_gm.png"/></a>|
|
74 |
+
|3|<a href="./output_images/ref/output_human_openpose_3.png"><img width="128" src="./output_images/ref/output_human_openpose_3.png"/></a>|<a href="./output_images/diffusers/output_human_openpose_3.png"><img width="128" src="./output_images/diffusers/output_human_openpose_3.png"/></a>|<a href="./output_images/ref/output_human_openpose_3_gm.png"><img width="128" src="./output_images/ref/output_human_openpose_3_gm.png"/></a>|<a href="./output_images/diffusers/output_human_openpose_3_gm.png"><img width="128" src="./output_images/diffusers/output_human_openpose_3_gm.png"/></a>|
|
75 |
+
|0|<a href="./output_images/ref/output_room_openpose_0.png"><img width="128" src="./output_images/ref/output_room_openpose_0.png"/></a>|<a href="./output_images/diffusers/output_room_openpose_0.png"><img width="128" src="./output_images/diffusers/output_room_openpose_0.png"/></a>|<a href="./output_images/ref/output_room_openpose_0_gm.png"><img width="128" src="./output_images/ref/output_room_openpose_0_gm.png"/></a>|<a href="./output_images/diffusers/output_room_openpose_0_gm.png"><img width="128" src="./output_images/diffusers/output_room_openpose_0_gm.png"/></a>|
|
76 |
+
|1|<a href="./output_images/ref/output_room_openpose_1.png"><img width="128" src="./output_images/ref/output_room_openpose_1.png"/></a>|<a href="./output_images/diffusers/output_room_openpose_1.png"><img width="128" src="./output_images/diffusers/output_room_openpose_1.png"/></a>|<a href="./output_images/ref/output_room_openpose_1_gm.png"><img width="128" src="./output_images/ref/output_room_openpose_1_gm.png"/></a>|<a href="./output_images/diffusers/output_room_openpose_1_gm.png"><img width="128" src="./output_images/diffusers/output_room_openpose_1_gm.png"/></a>|
|
77 |
+
|2|<a href="./output_images/ref/output_room_openpose_2.png"><img width="128" src="./output_images/ref/output_room_openpose_2.png"/></a>|<a href="./output_images/diffusers/output_room_openpose_2.png"><img width="128" src="./output_images/diffusers/output_room_openpose_2.png"/></a>|<a href="./output_images/ref/output_room_openpose_2_gm.png"><img width="128" src="./output_images/ref/output_room_openpose_2_gm.png"/></a>|<a href="./output_images/diffusers/output_room_openpose_2_gm.png"><img width="128" src="./output_images/diffusers/output_room_openpose_2_gm.png"/></a>|
|
78 |
+
|3|<a href="./output_images/ref/output_room_openpose_3.png"><img width="128" src="./output_images/ref/output_room_openpose_3.png"/></a>|<a href="./output_images/diffusers/output_room_openpose_3.png"><img width="128" src="./output_images/diffusers/output_room_openpose_3.png"/></a>|<a href="./output_images/ref/output_room_openpose_3_gm.png"><img width="128" src="./output_images/ref/output_room_openpose_3_gm.png"/></a>|<a href="./output_images/diffusers/output_room_openpose_3_gm.png"><img width="128" src="./output_images/diffusers/output_room_openpose_3_gm.png"/></a>|
|
79 |
+
|0|<a href="./output_images/ref/output_vermeer_openpose_0.png"><img width="128" src="./output_images/ref/output_vermeer_openpose_0.png"/></a>|<a href="./output_images/diffusers/output_vermeer_openpose_0.png"><img width="128" src="./output_images/diffusers/output_vermeer_openpose_0.png"/></a>|<a href="./output_images/ref/output_vermeer_openpose_0_gm.png"><img width="128" src="./output_images/ref/output_vermeer_openpose_0_gm.png"/></a>|<a href="./output_images/diffusers/output_vermeer_openpose_0_gm.png"><img width="128" src="./output_images/diffusers/output_vermeer_openpose_0_gm.png"/></a>|
|
80 |
+
|1|<a href="./output_images/ref/output_vermeer_openpose_1.png"><img width="128" src="./output_images/ref/output_vermeer_openpose_1.png"/></a>|<a href="./output_images/diffusers/output_vermeer_openpose_1.png"><img width="128" src="./output_images/diffusers/output_vermeer_openpose_1.png"/></a>|<a href="./output_images/ref/output_vermeer_openpose_1_gm.png"><img width="128" src="./output_images/ref/output_vermeer_openpose_1_gm.png"/></a>|<a href="./output_images/diffusers/output_vermeer_openpose_1_gm.png"><img width="128" src="./output_images/diffusers/output_vermeer_openpose_1_gm.png"/></a>|
|
81 |
+
|2|<a href="./output_images/ref/output_vermeer_openpose_2.png"><img width="128" src="./output_images/ref/output_vermeer_openpose_2.png"/></a>|<a href="./output_images/diffusers/output_vermeer_openpose_2.png"><img width="128" src="./output_images/diffusers/output_vermeer_openpose_2.png"/></a>|<a href="./output_images/ref/output_vermeer_openpose_2_gm.png"><img width="128" src="./output_images/ref/output_vermeer_openpose_2_gm.png"/></a>|<a href="./output_images/diffusers/output_vermeer_openpose_2_gm.png"><img width="128" src="./output_images/diffusers/output_vermeer_openpose_2_gm.png"/></a>|
|
82 |
+
|3|<a href="./output_images/ref/output_vermeer_openpose_3.png"><img width="128" src="./output_images/ref/output_vermeer_openpose_3.png"/></a>|<a href="./output_images/diffusers/output_vermeer_openpose_3.png"><img width="128" src="./output_images/diffusers/output_vermeer_openpose_3.png"/></a>|<a href="./output_images/ref/output_vermeer_openpose_3_gm.png"><img width="128" src="./output_images/ref/output_vermeer_openpose_3_gm.png"/></a>|<a href="./output_images/diffusers/output_vermeer_openpose_3_gm.png"><img width="128" src="./output_images/diffusers/output_vermeer_openpose_3_gm.png"/></a>|
|
83 |
+
## ControlNet hed
|
84 |
+
|
85 |
+
|seed|ref|diffusers|ref guess_mode|diffusers guess_mode|
|
86 |
+
|---|---|---|---|---|---|
|
87 |
+
|0|<a href="./output_images/ref/output_bird_hed_0.png"><img width="128" src="./output_images/ref/output_bird_hed_0.png"/></a>|<a href="./output_images/diffusers/output_bird_hed_0.png"><img width="128" src="./output_images/diffusers/output_bird_hed_0.png"/></a>|<a href="./output_images/ref/output_bird_hed_0_gm.png"><img width="128" src="./output_images/ref/output_bird_hed_0_gm.png"/></a>|<a href="./output_images/diffusers/output_bird_hed_0_gm.png"><img width="128" src="./output_images/diffusers/output_bird_hed_0_gm.png"/></a>|
|
88 |
+
|1|<a href="./output_images/ref/output_bird_hed_1.png"><img width="128" src="./output_images/ref/output_bird_hed_1.png"/></a>|<a href="./output_images/diffusers/output_bird_hed_1.png"><img width="128" src="./output_images/diffusers/output_bird_hed_1.png"/></a>|<a href="./output_images/ref/output_bird_hed_1_gm.png"><img width="128" src="./output_images/ref/output_bird_hed_1_gm.png"/></a>|<a href="./output_images/diffusers/output_bird_hed_1_gm.png"><img width="128" src="./output_images/diffusers/output_bird_hed_1_gm.png"/></a>|
|
89 |
+
|2|<a href="./output_images/ref/output_bird_hed_2.png"><img width="128" src="./output_images/ref/output_bird_hed_2.png"/></a>|<a href="./output_images/diffusers/output_bird_hed_2.png"><img width="128" src="./output_images/diffusers/output_bird_hed_2.png"/></a>|<a href="./output_images/ref/output_bird_hed_2_gm.png"><img width="128" src="./output_images/ref/output_bird_hed_2_gm.png"/></a>|<a href="./output_images/diffusers/output_bird_hed_2_gm.png"><img width="128" src="./output_images/diffusers/output_bird_hed_2_gm.png"/></a>|
|
90 |
+
|3|<a href="./output_images/ref/output_bird_hed_3.png"><img width="128" src="./output_images/ref/output_bird_hed_3.png"/></a>|<a href="./output_images/diffusers/output_bird_hed_3.png"><img width="128" src="./output_images/diffusers/output_bird_hed_3.png"/></a>|<a href="./output_images/ref/output_bird_hed_3_gm.png"><img width="128" src="./output_images/ref/output_bird_hed_3_gm.png"/></a>|<a href="./output_images/diffusers/output_bird_hed_3_gm.png"><img width="128" src="./output_images/diffusers/output_bird_hed_3_gm.png"/></a>|
|
91 |
+
|0|<a href="./output_images/ref/output_human_hed_0.png"><img width="128" src="./output_images/ref/output_human_hed_0.png"/></a>|<a href="./output_images/diffusers/output_human_hed_0.png"><img width="128" src="./output_images/diffusers/output_human_hed_0.png"/></a>|<a href="./output_images/ref/output_human_hed_0_gm.png"><img width="128" src="./output_images/ref/output_human_hed_0_gm.png"/></a>|<a href="./output_images/diffusers/output_human_hed_0_gm.png"><img width="128" src="./output_images/diffusers/output_human_hed_0_gm.png"/></a>|
|
92 |
+
|1|<a href="./output_images/ref/output_human_hed_1.png"><img width="128" src="./output_images/ref/output_human_hed_1.png"/></a>|<a href="./output_images/diffusers/output_human_hed_1.png"><img width="128" src="./output_images/diffusers/output_human_hed_1.png"/></a>|<a href="./output_images/ref/output_human_hed_1_gm.png"><img width="128" src="./output_images/ref/output_human_hed_1_gm.png"/></a>|<a href="./output_images/diffusers/output_human_hed_1_gm.png"><img width="128" src="./output_images/diffusers/output_human_hed_1_gm.png"/></a>|
|
93 |
+
|2|<a href="./output_images/ref/output_human_hed_2.png"><img width="128" src="./output_images/ref/output_human_hed_2.png"/></a>|<a href="./output_images/diffusers/output_human_hed_2.png"><img width="128" src="./output_images/diffusers/output_human_hed_2.png"/></a>|<a href="./output_images/ref/output_human_hed_2_gm.png"><img width="128" src="./output_images/ref/output_human_hed_2_gm.png"/></a>|<a href="./output_images/diffusers/output_human_hed_2_gm.png"><img width="128" src="./output_images/diffusers/output_human_hed_2_gm.png"/></a>|
|
94 |
+
|3|<a href="./output_images/ref/output_human_hed_3.png"><img width="128" src="./output_images/ref/output_human_hed_3.png"/></a>|<a href="./output_images/diffusers/output_human_hed_3.png"><img width="128" src="./output_images/diffusers/output_human_hed_3.png"/></a>|<a href="./output_images/ref/output_human_hed_3_gm.png"><img width="128" src="./output_images/ref/output_human_hed_3_gm.png"/></a>|<a href="./output_images/diffusers/output_human_hed_3_gm.png"><img width="128" src="./output_images/diffusers/output_human_hed_3_gm.png"/></a>|
|
95 |
+
|0|<a href="./output_images/ref/output_room_hed_0.png"><img width="128" src="./output_images/ref/output_room_hed_0.png"/></a>|<a href="./output_images/diffusers/output_room_hed_0.png"><img width="128" src="./output_images/diffusers/output_room_hed_0.png"/></a>|<a href="./output_images/ref/output_room_hed_0_gm.png"><img width="128" src="./output_images/ref/output_room_hed_0_gm.png"/></a>|<a href="./output_images/diffusers/output_room_hed_0_gm.png"><img width="128" src="./output_images/diffusers/output_room_hed_0_gm.png"/></a>|
|
96 |
+
|1|<a href="./output_images/ref/output_room_hed_1.png"><img width="128" src="./output_images/ref/output_room_hed_1.png"/></a>|<a href="./output_images/diffusers/output_room_hed_1.png"><img width="128" src="./output_images/diffusers/output_room_hed_1.png"/></a>|<a href="./output_images/ref/output_room_hed_1_gm.png"><img width="128" src="./output_images/ref/output_room_hed_1_gm.png"/></a>|<a href="./output_images/diffusers/output_room_hed_1_gm.png"><img width="128" src="./output_images/diffusers/output_room_hed_1_gm.png"/></a>|
|
97 |
+
|2|<a href="./output_images/ref/output_room_hed_2.png"><img width="128" src="./output_images/ref/output_room_hed_2.png"/></a>|<a href="./output_images/diffusers/output_room_hed_2.png"><img width="128" src="./output_images/diffusers/output_room_hed_2.png"/></a>|<a href="./output_images/ref/output_room_hed_2_gm.png"><img width="128" src="./output_images/ref/output_room_hed_2_gm.png"/></a>|<a href="./output_images/diffusers/output_room_hed_2_gm.png"><img width="128" src="./output_images/diffusers/output_room_hed_2_gm.png"/></a>|
|
98 |
+
|3|<a href="./output_images/ref/output_room_hed_3.png"><img width="128" src="./output_images/ref/output_room_hed_3.png"/></a>|<a href="./output_images/diffusers/output_room_hed_3.png"><img width="128" src="./output_images/diffusers/output_room_hed_3.png"/></a>|<a href="./output_images/ref/output_room_hed_3_gm.png"><img width="128" src="./output_images/ref/output_room_hed_3_gm.png"/></a>|<a href="./output_images/diffusers/output_room_hed_3_gm.png"><img width="128" src="./output_images/diffusers/output_room_hed_3_gm.png"/></a>|
|
99 |
+
|0|<a href="./output_images/ref/output_vermeer_hed_0.png"><img width="128" src="./output_images/ref/output_vermeer_hed_0.png"/></a>|<a href="./output_images/diffusers/output_vermeer_hed_0.png"><img width="128" src="./output_images/diffusers/output_vermeer_hed_0.png"/></a>|<a href="./output_images/ref/output_vermeer_hed_0_gm.png"><img width="128" src="./output_images/ref/output_vermeer_hed_0_gm.png"/></a>|<a href="./output_images/diffusers/output_vermeer_hed_0_gm.png"><img width="128" src="./output_images/diffusers/output_vermeer_hed_0_gm.png"/></a>|
|
100 |
+
|1|<a href="./output_images/ref/output_vermeer_hed_1.png"><img width="128" src="./output_images/ref/output_vermeer_hed_1.png"/></a>|<a href="./output_images/diffusers/output_vermeer_hed_1.png"><img width="128" src="./output_images/diffusers/output_vermeer_hed_1.png"/></a>|<a href="./output_images/ref/output_vermeer_hed_1_gm.png"><img width="128" src="./output_images/ref/output_vermeer_hed_1_gm.png"/></a>|<a href="./output_images/diffusers/output_vermeer_hed_1_gm.png"><img width="128" src="./output_images/diffusers/output_vermeer_hed_1_gm.png"/></a>|
|
101 |
+
|2|<a href="./output_images/ref/output_vermeer_hed_2.png"><img width="128" src="./output_images/ref/output_vermeer_hed_2.png"/></a>|<a href="./output_images/diffusers/output_vermeer_hed_2.png"><img width="128" src="./output_images/diffusers/output_vermeer_hed_2.png"/></a>|<a href="./output_images/ref/output_vermeer_hed_2_gm.png"><img width="128" src="./output_images/ref/output_vermeer_hed_2_gm.png"/></a>|<a href="./output_images/diffusers/output_vermeer_hed_2_gm.png"><img width="128" src="./output_images/diffusers/output_vermeer_hed_2_gm.png"/></a>|
|
102 |
+
|3|<a href="./output_images/ref/output_vermeer_hed_3.png"><img width="128" src="./output_images/ref/output_vermeer_hed_3.png"/></a>|<a href="./output_images/diffusers/output_vermeer_hed_3.png"><img width="128" src="./output_images/diffusers/output_vermeer_hed_3.png"/></a>|<a href="./output_images/ref/output_vermeer_hed_3_gm.png"><img width="128" src="./output_images/ref/output_vermeer_hed_3_gm.png"/></a>|<a href="./output_images/diffusers/output_vermeer_hed_3_gm.png"><img width="128" src="./output_images/diffusers/output_vermeer_hed_3_gm.png"/></a>|
|
103 |
+
## ControlNet scribble
|
104 |
+
|
105 |
+
|seed|ref|diffusers|ref guess_mode|diffusers guess_mode|
|
106 |
+
|---|---|---|---|---|---|
|
107 |
+
|0|<a href="./output_images/ref/output_bird_scribble_0.png"><img width="128" src="./output_images/ref/output_bird_scribble_0.png"/></a>|<a href="./output_images/diffusers/output_bird_scribble_0.png"><img width="128" src="./output_images/diffusers/output_bird_scribble_0.png"/></a>|<a href="./output_images/ref/output_bird_scribble_0_gm.png"><img width="128" src="./output_images/ref/output_bird_scribble_0_gm.png"/></a>|<a href="./output_images/diffusers/output_bird_scribble_0_gm.png"><img width="128" src="./output_images/diffusers/output_bird_scribble_0_gm.png"/></a>|
|
108 |
+
|1|<a href="./output_images/ref/output_bird_scribble_1.png"><img width="128" src="./output_images/ref/output_bird_scribble_1.png"/></a>|<a href="./output_images/diffusers/output_bird_scribble_1.png"><img width="128" src="./output_images/diffusers/output_bird_scribble_1.png"/></a>|<a href="./output_images/ref/output_bird_scribble_1_gm.png"><img width="128" src="./output_images/ref/output_bird_scribble_1_gm.png"/></a>|<a href="./output_images/diffusers/output_bird_scribble_1_gm.png"><img width="128" src="./output_images/diffusers/output_bird_scribble_1_gm.png"/></a>|
|
109 |
+
|2|<a href="./output_images/ref/output_bird_scribble_2.png"><img width="128" src="./output_images/ref/output_bird_scribble_2.png"/></a>|<a href="./output_images/diffusers/output_bird_scribble_2.png"><img width="128" src="./output_images/diffusers/output_bird_scribble_2.png"/></a>|<a href="./output_images/ref/output_bird_scribble_2_gm.png"><img width="128" src="./output_images/ref/output_bird_scribble_2_gm.png"/></a>|<a href="./output_images/diffusers/output_bird_scribble_2_gm.png"><img width="128" src="./output_images/diffusers/output_bird_scribble_2_gm.png"/></a>|
|
110 |
+
|3|<a href="./output_images/ref/output_bird_scribble_3.png"><img width="128" src="./output_images/ref/output_bird_scribble_3.png"/></a>|<a href="./output_images/diffusers/output_bird_scribble_3.png"><img width="128" src="./output_images/diffusers/output_bird_scribble_3.png"/></a>|<a href="./output_images/ref/output_bird_scribble_3_gm.png"><img width="128" src="./output_images/ref/output_bird_scribble_3_gm.png"/></a>|<a href="./output_images/diffusers/output_bird_scribble_3_gm.png"><img width="128" src="./output_images/diffusers/output_bird_scribble_3_gm.png"/></a>|
|
111 |
+
|0|<a href="./output_images/ref/output_human_scribble_0.png"><img width="128" src="./output_images/ref/output_human_scribble_0.png"/></a>|<a href="./output_images/diffusers/output_human_scribble_0.png"><img width="128" src="./output_images/diffusers/output_human_scribble_0.png"/></a>|<a href="./output_images/ref/output_human_scribble_0_gm.png"><img width="128" src="./output_images/ref/output_human_scribble_0_gm.png"/></a>|<a href="./output_images/diffusers/output_human_scribble_0_gm.png"><img width="128" src="./output_images/diffusers/output_human_scribble_0_gm.png"/></a>|
|
112 |
+
|1|<a href="./output_images/ref/output_human_scribble_1.png"><img width="128" src="./output_images/ref/output_human_scribble_1.png"/></a>|<a href="./output_images/diffusers/output_human_scribble_1.png"><img width="128" src="./output_images/diffusers/output_human_scribble_1.png"/></a>|<a href="./output_images/ref/output_human_scribble_1_gm.png"><img width="128" src="./output_images/ref/output_human_scribble_1_gm.png"/></a>|<a href="./output_images/diffusers/output_human_scribble_1_gm.png"><img width="128" src="./output_images/diffusers/output_human_scribble_1_gm.png"/></a>|
|
113 |
+
|2|<a href="./output_images/ref/output_human_scribble_2.png"><img width="128" src="./output_images/ref/output_human_scribble_2.png"/></a>|<a href="./output_images/diffusers/output_human_scribble_2.png"><img width="128" src="./output_images/diffusers/output_human_scribble_2.png"/></a>|<a href="./output_images/ref/output_human_scribble_2_gm.png"><img width="128" src="./output_images/ref/output_human_scribble_2_gm.png"/></a>|<a href="./output_images/diffusers/output_human_scribble_2_gm.png"><img width="128" src="./output_images/diffusers/output_human_scribble_2_gm.png"/></a>|
|
114 |
+
|3|<a href="./output_images/ref/output_human_scribble_3.png"><img width="128" src="./output_images/ref/output_human_scribble_3.png"/></a>|<a href="./output_images/diffusers/output_human_scribble_3.png"><img width="128" src="./output_images/diffusers/output_human_scribble_3.png"/></a>|<a href="./output_images/ref/output_human_scribble_3_gm.png"><img width="128" src="./output_images/ref/output_human_scribble_3_gm.png"/></a>|<a href="./output_images/diffusers/output_human_scribble_3_gm.png"><img width="128" src="./output_images/diffusers/output_human_scribble_3_gm.png"/></a>|
|
115 |
+
|0|<a href="./output_images/ref/output_room_scribble_0.png"><img width="128" src="./output_images/ref/output_room_scribble_0.png"/></a>|<a href="./output_images/diffusers/output_room_scribble_0.png"><img width="128" src="./output_images/diffusers/output_room_scribble_0.png"/></a>|<a href="./output_images/ref/output_room_scribble_0_gm.png"><img width="128" src="./output_images/ref/output_room_scribble_0_gm.png"/></a>|<a href="./output_images/diffusers/output_room_scribble_0_gm.png"><img width="128" src="./output_images/diffusers/output_room_scribble_0_gm.png"/></a>|
|
116 |
+
|1|<a href="./output_images/ref/output_room_scribble_1.png"><img width="128" src="./output_images/ref/output_room_scribble_1.png"/></a>|<a href="./output_images/diffusers/output_room_scribble_1.png"><img width="128" src="./output_images/diffusers/output_room_scribble_1.png"/></a>|<a href="./output_images/ref/output_room_scribble_1_gm.png"><img width="128" src="./output_images/ref/output_room_scribble_1_gm.png"/></a>|<a href="./output_images/diffusers/output_room_scribble_1_gm.png"><img width="128" src="./output_images/diffusers/output_room_scribble_1_gm.png"/></a>|
|
117 |
+
|2|<a href="./output_images/ref/output_room_scribble_2.png"><img width="128" src="./output_images/ref/output_room_scribble_2.png"/></a>|<a href="./output_images/diffusers/output_room_scribble_2.png"><img width="128" src="./output_images/diffusers/output_room_scribble_2.png"/></a>|<a href="./output_images/ref/output_room_scribble_2_gm.png"><img width="128" src="./output_images/ref/output_room_scribble_2_gm.png"/></a>|<a href="./output_images/diffusers/output_room_scribble_2_gm.png"><img width="128" src="./output_images/diffusers/output_room_scribble_2_gm.png"/></a>|
|
118 |
+
|3|<a href="./output_images/ref/output_room_scribble_3.png"><img width="128" src="./output_images/ref/output_room_scribble_3.png"/></a>|<a href="./output_images/diffusers/output_room_scribble_3.png"><img width="128" src="./output_images/diffusers/output_room_scribble_3.png"/></a>|<a href="./output_images/ref/output_room_scribble_3_gm.png"><img width="128" src="./output_images/ref/output_room_scribble_3_gm.png"/></a>|<a href="./output_images/diffusers/output_room_scribble_3_gm.png"><img width="128" src="./output_images/diffusers/output_room_scribble_3_gm.png"/></a>|
|
119 |
+
|0|<a href="./output_images/ref/output_vermeer_scribble_0.png"><img width="128" src="./output_images/ref/output_vermeer_scribble_0.png"/></a>|<a href="./output_images/diffusers/output_vermeer_scribble_0.png"><img width="128" src="./output_images/diffusers/output_vermeer_scribble_0.png"/></a>|<a href="./output_images/ref/output_vermeer_scribble_0_gm.png"><img width="128" src="./output_images/ref/output_vermeer_scribble_0_gm.png"/></a>|<a href="./output_images/diffusers/output_vermeer_scribble_0_gm.png"><img width="128" src="./output_images/diffusers/output_vermeer_scribble_0_gm.png"/></a>|
|
120 |
+
|1|<a href="./output_images/ref/output_vermeer_scribble_1.png"><img width="128" src="./output_images/ref/output_vermeer_scribble_1.png"/></a>|<a href="./output_images/diffusers/output_vermeer_scribble_1.png"><img width="128" src="./output_images/diffusers/output_vermeer_scribble_1.png"/></a>|<a href="./output_images/ref/output_vermeer_scribble_1_gm.png"><img width="128" src="./output_images/ref/output_vermeer_scribble_1_gm.png"/></a>|<a href="./output_images/diffusers/output_vermeer_scribble_1_gm.png"><img width="128" src="./output_images/diffusers/output_vermeer_scribble_1_gm.png"/></a>|
|
121 |
+
|2|<a href="./output_images/ref/output_vermeer_scribble_2.png"><img width="128" src="./output_images/ref/output_vermeer_scribble_2.png"/></a>|<a href="./output_images/diffusers/output_vermeer_scribble_2.png"><img width="128" src="./output_images/diffusers/output_vermeer_scribble_2.png"/></a>|<a href="./output_images/ref/output_vermeer_scribble_2_gm.png"><img width="128" src="./output_images/ref/output_vermeer_scribble_2_gm.png"/></a>|<a href="./output_images/diffusers/output_vermeer_scribble_2_gm.png"><img width="128" src="./output_images/diffusers/output_vermeer_scribble_2_gm.png"/></a>|
|
122 |
+
|3|<a href="./output_images/ref/output_vermeer_scribble_3.png"><img width="128" src="./output_images/ref/output_vermeer_scribble_3.png"/></a>|<a href="./output_images/diffusers/output_vermeer_scribble_3.png"><img width="128" src="./output_images/diffusers/output_vermeer_scribble_3.png"/></a>|<a href="./output_images/ref/output_vermeer_scribble_3_gm.png"><img width="128" src="./output_images/ref/output_vermeer_scribble_3_gm.png"/></a>|<a href="./output_images/diffusers/output_vermeer_scribble_3_gm.png"><img width="128" src="./output_images/diffusers/output_vermeer_scribble_3_gm.png"/></a>|
|
123 |
+
## ControlNet mlsd
|
124 |
+
|
125 |
+
|seed|ref|diffusers|ref guess_mode|diffusers guess_mode|
|
126 |
+
|---|---|---|---|---|---|
|
127 |
+
|0|<a href="./output_images/ref/output_bird_mlsd_0.png"><img width="128" src="./output_images/ref/output_bird_mlsd_0.png"/></a>|<a href="./output_images/diffusers/output_bird_mlsd_0.png"><img width="128" src="./output_images/diffusers/output_bird_mlsd_0.png"/></a>|<a href="./output_images/ref/output_bird_mlsd_0_gm.png"><img width="128" src="./output_images/ref/output_bird_mlsd_0_gm.png"/></a>|<a href="./output_images/diffusers/output_bird_mlsd_0_gm.png"><img width="128" src="./output_images/diffusers/output_bird_mlsd_0_gm.png"/></a>|
|
128 |
+
|1|<a href="./output_images/ref/output_bird_mlsd_1.png"><img width="128" src="./output_images/ref/output_bird_mlsd_1.png"/></a>|<a href="./output_images/diffusers/output_bird_mlsd_1.png"><img width="128" src="./output_images/diffusers/output_bird_mlsd_1.png"/></a>|<a href="./output_images/ref/output_bird_mlsd_1_gm.png"><img width="128" src="./output_images/ref/output_bird_mlsd_1_gm.png"/></a>|<a href="./output_images/diffusers/output_bird_mlsd_1_gm.png"><img width="128" src="./output_images/diffusers/output_bird_mlsd_1_gm.png"/></a>|
|
129 |
+
|2|<a href="./output_images/ref/output_bird_mlsd_2.png"><img width="128" src="./output_images/ref/output_bird_mlsd_2.png"/></a>|<a href="./output_images/diffusers/output_bird_mlsd_2.png"><img width="128" src="./output_images/diffusers/output_bird_mlsd_2.png"/></a>|<a href="./output_images/ref/output_bird_mlsd_2_gm.png"><img width="128" src="./output_images/ref/output_bird_mlsd_2_gm.png"/></a>|<a href="./output_images/diffusers/output_bird_mlsd_2_gm.png"><img width="128" src="./output_images/diffusers/output_bird_mlsd_2_gm.png"/></a>|
|
130 |
+
|3|<a href="./output_images/ref/output_bird_mlsd_3.png"><img width="128" src="./output_images/ref/output_bird_mlsd_3.png"/></a>|<a href="./output_images/diffusers/output_bird_mlsd_3.png"><img width="128" src="./output_images/diffusers/output_bird_mlsd_3.png"/></a>|<a href="./output_images/ref/output_bird_mlsd_3_gm.png"><img width="128" src="./output_images/ref/output_bird_mlsd_3_gm.png"/></a>|<a href="./output_images/diffusers/output_bird_mlsd_3_gm.png"><img width="128" src="./output_images/diffusers/output_bird_mlsd_3_gm.png"/></a>|
|
131 |
+
|0|<a href="./output_images/ref/output_human_mlsd_0.png"><img width="128" src="./output_images/ref/output_human_mlsd_0.png"/></a>|<a href="./output_images/diffusers/output_human_mlsd_0.png"><img width="128" src="./output_images/diffusers/output_human_mlsd_0.png"/></a>|<a href="./output_images/ref/output_human_mlsd_0_gm.png"><img width="128" src="./output_images/ref/output_human_mlsd_0_gm.png"/></a>|<a href="./output_images/diffusers/output_human_mlsd_0_gm.png"><img width="128" src="./output_images/diffusers/output_human_mlsd_0_gm.png"/></a>|
|
132 |
+
|1|<a href="./output_images/ref/output_human_mlsd_1.png"><img width="128" src="./output_images/ref/output_human_mlsd_1.png"/></a>|<a href="./output_images/diffusers/output_human_mlsd_1.png"><img width="128" src="./output_images/diffusers/output_human_mlsd_1.png"/></a>|<a href="./output_images/ref/output_human_mlsd_1_gm.png"><img width="128" src="./output_images/ref/output_human_mlsd_1_gm.png"/></a>|<a href="./output_images/diffusers/output_human_mlsd_1_gm.png"><img width="128" src="./output_images/diffusers/output_human_mlsd_1_gm.png"/></a>|
|
133 |
+
|2|<a href="./output_images/ref/output_human_mlsd_2.png"><img width="128" src="./output_images/ref/output_human_mlsd_2.png"/></a>|<a href="./output_images/diffusers/output_human_mlsd_2.png"><img width="128" src="./output_images/diffusers/output_human_mlsd_2.png"/></a>|<a href="./output_images/ref/output_human_mlsd_2_gm.png"><img width="128" src="./output_images/ref/output_human_mlsd_2_gm.png"/></a>|<a href="./output_images/diffusers/output_human_mlsd_2_gm.png"><img width="128" src="./output_images/diffusers/output_human_mlsd_2_gm.png"/></a>|
|
134 |
+
|3|<a href="./output_images/ref/output_human_mlsd_3.png"><img width="128" src="./output_images/ref/output_human_mlsd_3.png"/></a>|<a href="./output_images/diffusers/output_human_mlsd_3.png"><img width="128" src="./output_images/diffusers/output_human_mlsd_3.png"/></a>|<a href="./output_images/ref/output_human_mlsd_3_gm.png"><img width="128" src="./output_images/ref/output_human_mlsd_3_gm.png"/></a>|<a href="./output_images/diffusers/output_human_mlsd_3_gm.png"><img width="128" src="./output_images/diffusers/output_human_mlsd_3_gm.png"/></a>|
|
135 |
+
|0|<a href="./output_images/ref/output_room_mlsd_0.png"><img width="128" src="./output_images/ref/output_room_mlsd_0.png"/></a>|<a href="./output_images/diffusers/output_room_mlsd_0.png"><img width="128" src="./output_images/diffusers/output_room_mlsd_0.png"/></a>|<a href="./output_images/ref/output_room_mlsd_0_gm.png"><img width="128" src="./output_images/ref/output_room_mlsd_0_gm.png"/></a>|<a href="./output_images/diffusers/output_room_mlsd_0_gm.png"><img width="128" src="./output_images/diffusers/output_room_mlsd_0_gm.png"/></a>|
|
136 |
+
|1|<a href="./output_images/ref/output_room_mlsd_1.png"><img width="128" src="./output_images/ref/output_room_mlsd_1.png"/></a>|<a href="./output_images/diffusers/output_room_mlsd_1.png"><img width="128" src="./output_images/diffusers/output_room_mlsd_1.png"/></a>|<a href="./output_images/ref/output_room_mlsd_1_gm.png"><img width="128" src="./output_images/ref/output_room_mlsd_1_gm.png"/></a>|<a href="./output_images/diffusers/output_room_mlsd_1_gm.png"><img width="128" src="./output_images/diffusers/output_room_mlsd_1_gm.png"/></a>|
|
137 |
+
|2|<a href="./output_images/ref/output_room_mlsd_2.png"><img width="128" src="./output_images/ref/output_room_mlsd_2.png"/></a>|<a href="./output_images/diffusers/output_room_mlsd_2.png"><img width="128" src="./output_images/diffusers/output_room_mlsd_2.png"/></a>|<a href="./output_images/ref/output_room_mlsd_2_gm.png"><img width="128" src="./output_images/ref/output_room_mlsd_2_gm.png"/></a>|<a href="./output_images/diffusers/output_room_mlsd_2_gm.png"><img width="128" src="./output_images/diffusers/output_room_mlsd_2_gm.png"/></a>|
|
138 |
+
|3|<a href="./output_images/ref/output_room_mlsd_3.png"><img width="128" src="./output_images/ref/output_room_mlsd_3.png"/></a>|<a href="./output_images/diffusers/output_room_mlsd_3.png"><img width="128" src="./output_images/diffusers/output_room_mlsd_3.png"/></a>|<a href="./output_images/ref/output_room_mlsd_3_gm.png"><img width="128" src="./output_images/ref/output_room_mlsd_3_gm.png"/></a>|<a href="./output_images/diffusers/output_room_mlsd_3_gm.png"><img width="128" src="./output_images/diffusers/output_room_mlsd_3_gm.png"/></a>|
|
139 |
+
|0|<a href="./output_images/ref/output_vermeer_mlsd_0.png"><img width="128" src="./output_images/ref/output_vermeer_mlsd_0.png"/></a>|<a href="./output_images/diffusers/output_vermeer_mlsd_0.png"><img width="128" src="./output_images/diffusers/output_vermeer_mlsd_0.png"/></a>|<a href="./output_images/ref/output_vermeer_mlsd_0_gm.png"><img width="128" src="./output_images/ref/output_vermeer_mlsd_0_gm.png"/></a>|<a href="./output_images/diffusers/output_vermeer_mlsd_0_gm.png"><img width="128" src="./output_images/diffusers/output_vermeer_mlsd_0_gm.png"/></a>|
|
140 |
+
|1|<a href="./output_images/ref/output_vermeer_mlsd_1.png"><img width="128" src="./output_images/ref/output_vermeer_mlsd_1.png"/></a>|<a href="./output_images/diffusers/output_vermeer_mlsd_1.png"><img width="128" src="./output_images/diffusers/output_vermeer_mlsd_1.png"/></a>|<a href="./output_images/ref/output_vermeer_mlsd_1_gm.png"><img width="128" src="./output_images/ref/output_vermeer_mlsd_1_gm.png"/></a>|<a href="./output_images/diffusers/output_vermeer_mlsd_1_gm.png"><img width="128" src="./output_images/diffusers/output_vermeer_mlsd_1_gm.png"/></a>|
|
141 |
+
|2|<a href="./output_images/ref/output_vermeer_mlsd_2.png"><img width="128" src="./output_images/ref/output_vermeer_mlsd_2.png"/></a>|<a href="./output_images/diffusers/output_vermeer_mlsd_2.png"><img width="128" src="./output_images/diffusers/output_vermeer_mlsd_2.png"/></a>|<a href="./output_images/ref/output_vermeer_mlsd_2_gm.png"><img width="128" src="./output_images/ref/output_vermeer_mlsd_2_gm.png"/></a>|<a href="./output_images/diffusers/output_vermeer_mlsd_2_gm.png"><img width="128" src="./output_images/diffusers/output_vermeer_mlsd_2_gm.png"/></a>|
|
142 |
+
|3|<a href="./output_images/ref/output_vermeer_mlsd_3.png"><img width="128" src="./output_images/ref/output_vermeer_mlsd_3.png"/></a>|<a href="./output_images/diffusers/output_vermeer_mlsd_3.png"><img width="128" src="./output_images/diffusers/output_vermeer_mlsd_3.png"/></a>|<a href="./output_images/ref/output_vermeer_mlsd_3_gm.png"><img width="128" src="./output_images/ref/output_vermeer_mlsd_3_gm.png"/></a>|<a href="./output_images/diffusers/output_vermeer_mlsd_3_gm.png"><img width="128" src="./output_images/diffusers/output_vermeer_mlsd_3_gm.png"/></a>|
|
143 |
+
## ControlNet seg
|
144 |
+
|
145 |
+
|seed|ref|diffusers|ref guess_mode|diffusers guess_mode|
|
146 |
+
|---|---|---|---|---|---|
|
147 |
+
|0|<a href="./output_images/ref/output_bird_seg_0.png"><img width="128" src="./output_images/ref/output_bird_seg_0.png"/></a>|<a href="./output_images/diffusers/output_bird_seg_0.png"><img width="128" src="./output_images/diffusers/output_bird_seg_0.png"/></a>|<a href="./output_images/ref/output_bird_seg_0_gm.png"><img width="128" src="./output_images/ref/output_bird_seg_0_gm.png"/></a>|<a href="./output_images/diffusers/output_bird_seg_0_gm.png"><img width="128" src="./output_images/diffusers/output_bird_seg_0_gm.png"/></a>|
|
148 |
+
|1|<a href="./output_images/ref/output_bird_seg_1.png"><img width="128" src="./output_images/ref/output_bird_seg_1.png"/></a>|<a href="./output_images/diffusers/output_bird_seg_1.png"><img width="128" src="./output_images/diffusers/output_bird_seg_1.png"/></a>|<a href="./output_images/ref/output_bird_seg_1_gm.png"><img width="128" src="./output_images/ref/output_bird_seg_1_gm.png"/></a>|<a href="./output_images/diffusers/output_bird_seg_1_gm.png"><img width="128" src="./output_images/diffusers/output_bird_seg_1_gm.png"/></a>|
|
149 |
+
|2|<a href="./output_images/ref/output_bird_seg_2.png"><img width="128" src="./output_images/ref/output_bird_seg_2.png"/></a>|<a href="./output_images/diffusers/output_bird_seg_2.png"><img width="128" src="./output_images/diffusers/output_bird_seg_2.png"/></a>|<a href="./output_images/ref/output_bird_seg_2_gm.png"><img width="128" src="./output_images/ref/output_bird_seg_2_gm.png"/></a>|<a href="./output_images/diffusers/output_bird_seg_2_gm.png"><img width="128" src="./output_images/diffusers/output_bird_seg_2_gm.png"/></a>|
|
150 |
+
|3|<a href="./output_images/ref/output_bird_seg_3.png"><img width="128" src="./output_images/ref/output_bird_seg_3.png"/></a>|<a href="./output_images/diffusers/output_bird_seg_3.png"><img width="128" src="./output_images/diffusers/output_bird_seg_3.png"/></a>|<a href="./output_images/ref/output_bird_seg_3_gm.png"><img width="128" src="./output_images/ref/output_bird_seg_3_gm.png"/></a>|<a href="./output_images/diffusers/output_bird_seg_3_gm.png"><img width="128" src="./output_images/diffusers/output_bird_seg_3_gm.png"/></a>|
|
151 |
+
|0|<a href="./output_images/ref/output_human_seg_0.png"><img width="128" src="./output_images/ref/output_human_seg_0.png"/></a>|<a href="./output_images/diffusers/output_human_seg_0.png"><img width="128" src="./output_images/diffusers/output_human_seg_0.png"/></a>|<a href="./output_images/ref/output_human_seg_0_gm.png"><img width="128" src="./output_images/ref/output_human_seg_0_gm.png"/></a>|<a href="./output_images/diffusers/output_human_seg_0_gm.png"><img width="128" src="./output_images/diffusers/output_human_seg_0_gm.png"/></a>|
|
152 |
+
|1|<a href="./output_images/ref/output_human_seg_1.png"><img width="128" src="./output_images/ref/output_human_seg_1.png"/></a>|<a href="./output_images/diffusers/output_human_seg_1.png"><img width="128" src="./output_images/diffusers/output_human_seg_1.png"/></a>|<a href="./output_images/ref/output_human_seg_1_gm.png"><img width="128" src="./output_images/ref/output_human_seg_1_gm.png"/></a>|<a href="./output_images/diffusers/output_human_seg_1_gm.png"><img width="128" src="./output_images/diffusers/output_human_seg_1_gm.png"/></a>|
|
153 |
+
|2|<a href="./output_images/ref/output_human_seg_2.png"><img width="128" src="./output_images/ref/output_human_seg_2.png"/></a>|<a href="./output_images/diffusers/output_human_seg_2.png"><img width="128" src="./output_images/diffusers/output_human_seg_2.png"/></a>|<a href="./output_images/ref/output_human_seg_2_gm.png"><img width="128" src="./output_images/ref/output_human_seg_2_gm.png"/></a>|<a href="./output_images/diffusers/output_human_seg_2_gm.png"><img width="128" src="./output_images/diffusers/output_human_seg_2_gm.png"/></a>|
|
154 |
+
|3|<a href="./output_images/ref/output_human_seg_3.png"><img width="128" src="./output_images/ref/output_human_seg_3.png"/></a>|<a href="./output_images/diffusers/output_human_seg_3.png"><img width="128" src="./output_images/diffusers/output_human_seg_3.png"/></a>|<a href="./output_images/ref/output_human_seg_3_gm.png"><img width="128" src="./output_images/ref/output_human_seg_3_gm.png"/></a>|<a href="./output_images/diffusers/output_human_seg_3_gm.png"><img width="128" src="./output_images/diffusers/output_human_seg_3_gm.png"/></a>|
|
155 |
+
|0|<a href="./output_images/ref/output_room_seg_0.png"><img width="128" src="./output_images/ref/output_room_seg_0.png"/></a>|<a href="./output_images/diffusers/output_room_seg_0.png"><img width="128" src="./output_images/diffusers/output_room_seg_0.png"/></a>|<a href="./output_images/ref/output_room_seg_0_gm.png"><img width="128" src="./output_images/ref/output_room_seg_0_gm.png"/></a>|<a href="./output_images/diffusers/output_room_seg_0_gm.png"><img width="128" src="./output_images/diffusers/output_room_seg_0_gm.png"/></a>|
|
156 |
+
|1|<a href="./output_images/ref/output_room_seg_1.png"><img width="128" src="./output_images/ref/output_room_seg_1.png"/></a>|<a href="./output_images/diffusers/output_room_seg_1.png"><img width="128" src="./output_images/diffusers/output_room_seg_1.png"/></a>|<a href="./output_images/ref/output_room_seg_1_gm.png"><img width="128" src="./output_images/ref/output_room_seg_1_gm.png"/></a>|<a href="./output_images/diffusers/output_room_seg_1_gm.png"><img width="128" src="./output_images/diffusers/output_room_seg_1_gm.png"/></a>|
|
157 |
+
|2|<a href="./output_images/ref/output_room_seg_2.png"><img width="128" src="./output_images/ref/output_room_seg_2.png"/></a>|<a href="./output_images/diffusers/output_room_seg_2.png"><img width="128" src="./output_images/diffusers/output_room_seg_2.png"/></a>|<a href="./output_images/ref/output_room_seg_2_gm.png"><img width="128" src="./output_images/ref/output_room_seg_2_gm.png"/></a>|<a href="./output_images/diffusers/output_room_seg_2_gm.png"><img width="128" src="./output_images/diffusers/output_room_seg_2_gm.png"/></a>|
|
158 |
+
|3|<a href="./output_images/ref/output_room_seg_3.png"><img width="128" src="./output_images/ref/output_room_seg_3.png"/></a>|<a href="./output_images/diffusers/output_room_seg_3.png"><img width="128" src="./output_images/diffusers/output_room_seg_3.png"/></a>|<a href="./output_images/ref/output_room_seg_3_gm.png"><img width="128" src="./output_images/ref/output_room_seg_3_gm.png"/></a>|<a href="./output_images/diffusers/output_room_seg_3_gm.png"><img width="128" src="./output_images/diffusers/output_room_seg_3_gm.png"/></a>|
|
159 |
+
|0|<a href="./output_images/ref/output_vermeer_seg_0.png"><img width="128" src="./output_images/ref/output_vermeer_seg_0.png"/></a>|<a href="./output_images/diffusers/output_vermeer_seg_0.png"><img width="128" src="./output_images/diffusers/output_vermeer_seg_0.png"/></a>|<a href="./output_images/ref/output_vermeer_seg_0_gm.png"><img width="128" src="./output_images/ref/output_vermeer_seg_0_gm.png"/></a>|<a href="./output_images/diffusers/output_vermeer_seg_0_gm.png"><img width="128" src="./output_images/diffusers/output_vermeer_seg_0_gm.png"/></a>|
|
160 |
+
|1|<a href="./output_images/ref/output_vermeer_seg_1.png"><img width="128" src="./output_images/ref/output_vermeer_seg_1.png"/></a>|<a href="./output_images/diffusers/output_vermeer_seg_1.png"><img width="128" src="./output_images/diffusers/output_vermeer_seg_1.png"/></a>|<a href="./output_images/ref/output_vermeer_seg_1_gm.png"><img width="128" src="./output_images/ref/output_vermeer_seg_1_gm.png"/></a>|<a href="./output_images/diffusers/output_vermeer_seg_1_gm.png"><img width="128" src="./output_images/diffusers/output_vermeer_seg_1_gm.png"/></a>|
|
161 |
+
|2|<a href="./output_images/ref/output_vermeer_seg_2.png"><img width="128" src="./output_images/ref/output_vermeer_seg_2.png"/></a>|<a href="./output_images/diffusers/output_vermeer_seg_2.png"><img width="128" src="./output_images/diffusers/output_vermeer_seg_2.png"/></a>|<a href="./output_images/ref/output_vermeer_seg_2_gm.png"><img width="128" src="./output_images/ref/output_vermeer_seg_2_gm.png"/></a>|<a href="./output_images/diffusers/output_vermeer_seg_2_gm.png"><img width="128" src="./output_images/diffusers/output_vermeer_seg_2_gm.png"/></a>|
|
162 |
+
|3|<a href="./output_images/ref/output_vermeer_seg_3.png"><img width="128" src="./output_images/ref/output_vermeer_seg_3.png"/></a>|<a href="./output_images/diffusers/output_vermeer_seg_3.png"><img width="128" src="./output_images/diffusers/output_vermeer_seg_3.png"/></a>|<a href="./output_images/ref/output_vermeer_seg_3_gm.png"><img width="128" src="./output_images/ref/output_vermeer_seg_3_gm.png"/></a>|<a href="./output_images/diffusers/output_vermeer_seg_3_gm.png"><img width="128" src="./output_images/diffusers/output_vermeer_seg_3_gm.png"/></a>|
|
gen_compare_guess_mode/gen_diffusers_image.py
ADDED
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Diffusers' ControlNet Implementation Subjective Evaluation
|
2 |
+
# https://github.com/takuma104/diffusers/tree/controlnet
|
3 |
+
|
4 |
+
import einops
|
5 |
+
import numpy as np
|
6 |
+
import torch
|
7 |
+
import sys
|
8 |
+
import os
|
9 |
+
|
10 |
+
from diffusers import StableDiffusionControlNetPipeline, ControlNetModel
|
11 |
+
|
12 |
+
from PIL import Image
|
13 |
+
|
14 |
+
test_prompt = "best quality, extremely detailed"
|
15 |
+
test_negative_prompt = "lowres, bad anatomy, worst quality, low quality"
|
16 |
+
|
17 |
+
def generate_image(seed, prompt, negative_prompt, control, guess_mode=False):
|
18 |
+
latent = torch.randn((1,4,64,64), device="cpu", generator=torch.Generator(device="cpu").manual_seed(seed)).cuda()
|
19 |
+
image = pipe(
|
20 |
+
prompt=prompt,
|
21 |
+
negative_prompt=negative_prompt,
|
22 |
+
guidance_scale=9.0,
|
23 |
+
num_inference_steps=20,
|
24 |
+
latents=latent,
|
25 |
+
#generator=torch.Generator(device="cuda").manual_seed(seed),
|
26 |
+
image=control,
|
27 |
+
guess_mode=guess_mode,
|
28 |
+
).images[0]
|
29 |
+
return image
|
30 |
+
|
31 |
+
if __name__ == '__main__':
|
32 |
+
model_name = sys.argv[1]
|
33 |
+
control_image_folder = '../gen_compare/control_images/converted/'
|
34 |
+
output_image_folder = './output_images/diffusers/'
|
35 |
+
os.makedirs(output_image_folder, exist_ok=True)
|
36 |
+
|
37 |
+
model_id = f'lllyasviel/sd-controlnet-{model_name}'
|
38 |
+
|
39 |
+
controlnet = ControlNetModel.from_pretrained(model_id)
|
40 |
+
pipe = StableDiffusionControlNetPipeline.from_pretrained("runwayml/stable-diffusion-v1-5",
|
41 |
+
revision="non-ema",
|
42 |
+
controlnet=controlnet,
|
43 |
+
safety_checker=None).to("cuda")
|
44 |
+
#pipe.enable_attention_slicing(1)
|
45 |
+
|
46 |
+
image_types = {'bird', 'human', 'room', 'vermeer'}
|
47 |
+
|
48 |
+
for image_type in image_types:
|
49 |
+
control_image = Image.open(f'{control_image_folder}control_{image_type}_{model_name}.png')
|
50 |
+
control = np.array(control_image)[:,:,::-1].copy()
|
51 |
+
control = torch.from_numpy(control).float().cuda() / 255.0
|
52 |
+
control = torch.stack([control for _ in range(1)], dim=0)
|
53 |
+
control = einops.rearrange(control, 'b h w c -> b c h w').clone()
|
54 |
+
|
55 |
+
for seed in range(4):
|
56 |
+
image = generate_image(seed=seed,
|
57 |
+
prompt=test_prompt,
|
58 |
+
negative_prompt=test_negative_prompt,
|
59 |
+
control=control)
|
60 |
+
image.save(f'{output_image_folder}output_{image_type}_{model_name}_{seed}.png')
|
61 |
+
image = generate_image(seed=seed,
|
62 |
+
prompt="",
|
63 |
+
negative_prompt="",
|
64 |
+
control=control,
|
65 |
+
guess_mode=True)
|
66 |
+
image.save(f'{output_image_folder}output_{image_type}_{model_name}_{seed}_gm.png')
|
67 |
+
# image = generate_image(seed=seed,
|
68 |
+
# prompt=test_prompt,
|
69 |
+
# negative_prompt=test_negative_prompt,
|
70 |
+
# control=control,
|
71 |
+
# guess_mode=True)
|
72 |
+
# image.save(f'{output_image_folder}output_{image_type}_{model_name}_{seed}_gm_wp.png')
|
gen_compare_guess_mode/gen_diffusers_image.sh
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/bin/bash
|
2 |
+
|
3 |
+
models=("canny" "normal" "depth" "openpose" "hed" "scribble" "mlsd" "seg")
|
4 |
+
|
5 |
+
for model in "${models[@]}"
|
6 |
+
do
|
7 |
+
echo $model
|
8 |
+
python gen_diffusers_image.py $model
|
9 |
+
done
|
gen_compare_guess_mode/gen_markdown.py
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import sys
|
2 |
+
|
3 |
+
cnet_models = ["canny", "normal", "depth", "openpose", "hed", "scribble", "mlsd", "seg"]
|
4 |
+
processors = ["ref", "diffusers"]
|
5 |
+
image_types = ['bird', 'human', 'room', 'vermeer']
|
6 |
+
|
7 |
+
print(f"# ControlNet Generation Comparison")
|
8 |
+
print("")
|
9 |
+
|
10 |
+
def print_header():
|
11 |
+
print("|seed|", end="")
|
12 |
+
for proc in processors:
|
13 |
+
print(f"{proc} with prompt|", end="")
|
14 |
+
for proc in processors:
|
15 |
+
print(f"{proc} guess_mode|", end="")
|
16 |
+
print("")
|
17 |
+
|
18 |
+
print("|", end="")
|
19 |
+
for _ in range((len(processors) + 1) * 2):
|
20 |
+
print("---|", end="")
|
21 |
+
print("")
|
22 |
+
|
23 |
+
def get_url(path):
|
24 |
+
url = "./output_images/"
|
25 |
+
# url = 'https://huggingface.co/takuma104/controlnet_dev/resolve/main/gen_compare_guess_mode/output_images/'
|
26 |
+
return url + path
|
27 |
+
for cnet in cnet_models:
|
28 |
+
print(f"## ControlNet {cnet}")
|
29 |
+
print("")
|
30 |
+
print_header()
|
31 |
+
|
32 |
+
for image_type in image_types:
|
33 |
+
for seed in range(4):
|
34 |
+
print(f"|{seed}|", end="")
|
35 |
+
for proc in processors:
|
36 |
+
url = get_url(path=f"{proc}/output_{image_type}_{cnet}_{seed:01d}.png")
|
37 |
+
print(f'<a href="{url}"><img width="128" src="{url}"/></a>|', end="")
|
38 |
+
|
39 |
+
for proc in processors:
|
40 |
+
url = get_url(path=f"{proc}/output_{image_type}_{cnet}_{seed:01d}_gm.png")
|
41 |
+
print(f'<a href="{url}"><img width="128" src="{url}"/></a>|', end="")
|
42 |
+
|
43 |
+
# url = get_url(path=f"{proc}/output_{image_type}_{cnet}_{seed:01d}_gm_wp.png")
|
44 |
+
# print(f'<a href="{url}"><img width="128" src="{url}"/></a>|', end="")
|
45 |
+
print("")
|
gen_compare_guess_mode/gen_markdowns.sh
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/bin/bash
|
2 |
+
|
3 |
+
python gen_markdown.py > README.md
|
4 |
+
|
gen_compare_guess_mode/gen_reference_image.py
ADDED
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# from https://github.com/lllyasviel/ControlNet/blob/main/gradio_canny2image.py
|
2 |
+
|
3 |
+
import einops
|
4 |
+
import numpy as np
|
5 |
+
import torch
|
6 |
+
from PIL import Image
|
7 |
+
import sys
|
8 |
+
import os
|
9 |
+
|
10 |
+
sys.path.append('../../../ControlNet')
|
11 |
+
|
12 |
+
from share import *
|
13 |
+
from pytorch_lightning import seed_everything
|
14 |
+
from cldm.model import create_model, load_state_dict
|
15 |
+
from cldm.ddim_hacked import DDIMSampler
|
16 |
+
from diffusers.utils import load_image
|
17 |
+
|
18 |
+
test_prompt = "best quality, extremely detailed"
|
19 |
+
test_negative_prompt = "lowres, bad anatomy, worst quality, low quality"
|
20 |
+
|
21 |
+
@torch.no_grad()
|
22 |
+
def generate(prompt, n_prompt, seed, control, ddim_steps=20, eta=0.0, scale=9.0, H=512, W=512, strength = 1.0, guess_mode=False):
|
23 |
+
seed_everything(seed)
|
24 |
+
|
25 |
+
cond = {"c_concat": [control], "c_crossattn": [model.get_learned_conditioning([prompt] * num_samples)]}
|
26 |
+
un_cond = {"c_concat": None if guess_mode else [control], "c_crossattn": [model.get_learned_conditioning([n_prompt] * num_samples)]}
|
27 |
+
shape = (4, H // 8, W // 8)
|
28 |
+
|
29 |
+
model.control_scales = [strength * (0.825 ** float(12 - i)) for i in range(13)] if guess_mode else ([strength] * 13) # Magic number. IDK why. Perhaps because 0.825**12<0.01 but 0.826**12>0.01
|
30 |
+
latent = torch.randn((1,) + shape, device="cpu", generator=torch.Generator(device="cpu").manual_seed(seed)).cuda()
|
31 |
+
samples, intermediates = ddim_sampler.sample(ddim_steps, num_samples,
|
32 |
+
shape, cond, x_T=latent,
|
33 |
+
verbose=False, eta=eta,
|
34 |
+
unconditional_guidance_scale=scale,
|
35 |
+
unconditional_conditioning=un_cond)
|
36 |
+
x_samples = model.decode_first_stage(samples)
|
37 |
+
x_samples = (einops.rearrange(x_samples, 'b c h w -> b h w c') * 127.5 + 127.5).cpu().numpy().clip(0, 255).astype(np.uint8)
|
38 |
+
|
39 |
+
return Image.fromarray(x_samples[0])
|
40 |
+
|
41 |
+
if __name__ == '__main__':
|
42 |
+
model_name = sys.argv[1]
|
43 |
+
|
44 |
+
control_image_folder = '../gen_compare/control_images/converted/'
|
45 |
+
output_image_folder = 'output_images/ref/'
|
46 |
+
os.makedirs(output_image_folder, exist_ok=True)
|
47 |
+
|
48 |
+
num_samples = 1
|
49 |
+
model = create_model('../../../ControlNet/models/cldm_v15.yaml').cpu()
|
50 |
+
model.load_state_dict(load_state_dict(f'../../ControlNet/models/control_sd15_{model_name}.pth', location='cpu'))
|
51 |
+
model = model.cuda()
|
52 |
+
ddim_sampler = DDIMSampler(model)
|
53 |
+
|
54 |
+
image_types = {'bird', 'human', 'room', 'vermeer'}
|
55 |
+
|
56 |
+
for image_type in image_types:
|
57 |
+
control_image = Image.open(f'{control_image_folder}control_{image_type}_{model_name}.png')
|
58 |
+
control = np.array(control_image)[:,:,::-1].copy()
|
59 |
+
control = torch.from_numpy(control).float().cuda() / 255.0
|
60 |
+
control = torch.stack([control for _ in range(num_samples)], dim=0)
|
61 |
+
control = einops.rearrange(control, 'b h w c -> b c h w').clone()
|
62 |
+
|
63 |
+
for seed in range(4):
|
64 |
+
image = generate(test_prompt, test_negative_prompt, seed=seed, control=control)
|
65 |
+
image.save(f'{output_image_folder}output_{image_type}_{model_name}_{seed}.png')
|
66 |
+
image = generate("", "", seed=seed, control=control, guess_mode=True)
|
67 |
+
image.save(f'{output_image_folder}output_{image_type}_{model_name}_{seed}_gm.png')
|
gen_compare_guess_mode/gen_reference_image.sh
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/bin/bash
|
2 |
+
|
3 |
+
models=("canny" "normal" "depth" "openpose" "hed" "scribble" "mlsd" "seg")
|
4 |
+
|
5 |
+
for model in "${models[@]}"
|
6 |
+
do
|
7 |
+
echo $model
|
8 |
+
python gen_reference_image.py $model
|
9 |
+
done
|
gen_compare_guess_mode/output_images/diffusers/output_bird_canny_0.png
ADDED
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_canny_0_gm.png
ADDED
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_canny_0_gm_wp.png
ADDED
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_canny_1.png
ADDED
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_canny_1_gm.png
ADDED
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_canny_1_gm_wp.png
ADDED
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_canny_2.png
ADDED
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_canny_2_gm.png
ADDED
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_canny_2_gm_wp.png
ADDED
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_canny_3.png
ADDED
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_canny_3_gm.png
ADDED
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_canny_3_gm_wp.png
ADDED
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_depth_0.png
ADDED
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_depth_0_gm.png
ADDED
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_depth_0_gm_wp.png
ADDED
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_depth_1.png
ADDED
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_depth_1_gm.png
ADDED
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_depth_1_gm_wp.png
ADDED
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_depth_2.png
ADDED
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_depth_2_gm.png
ADDED
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_depth_2_gm_wp.png
ADDED
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_depth_3.png
ADDED
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_depth_3_gm.png
ADDED
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_depth_3_gm_wp.png
ADDED
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_hed_0.png
ADDED
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_hed_0_gm.png
ADDED
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_hed_0_gm_wp.png
ADDED
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_hed_1.png
ADDED
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_hed_1_gm.png
ADDED
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_hed_1_gm_wp.png
ADDED
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_hed_2.png
ADDED
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_hed_2_gm.png
ADDED
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_hed_2_gm_wp.png
ADDED
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_hed_3.png
ADDED
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_hed_3_gm.png
ADDED
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_hed_3_gm_wp.png
ADDED
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_mlsd_0.png
ADDED
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_mlsd_0_gm.png
ADDED
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_mlsd_0_gm_wp.png
ADDED
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_mlsd_1.png
ADDED
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_mlsd_1_gm.png
ADDED
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_mlsd_1_gm_wp.png
ADDED
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_mlsd_2.png
ADDED
Git LFS Details
|