add guess_mode with prompt
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- gen_compare_guess_mode/README.md +0 -0
- gen_compare_guess_mode/gen_diffusers_image.py +6 -0
- gen_compare_guess_mode/gen_markdown.py +6 -3
- gen_compare_guess_mode/output_images/diffusers/output_bird_canny_0_gm_wp.png +2 -2
- gen_compare_guess_mode/output_images/diffusers/output_bird_canny_1_gm_wp.png +2 -2
- gen_compare_guess_mode/output_images/diffusers/output_bird_canny_2_gm_wp.png +2 -2
- gen_compare_guess_mode/output_images/diffusers/output_bird_canny_3_gm_wp.png +2 -2
- gen_compare_guess_mode/output_images/diffusers/output_bird_depth_0_gm_wp.png +2 -2
- gen_compare_guess_mode/output_images/diffusers/output_bird_depth_1_gm_wp.png +2 -2
- gen_compare_guess_mode/output_images/diffusers/output_bird_depth_2_gm_wp.png +2 -2
- gen_compare_guess_mode/output_images/diffusers/output_bird_depth_3_gm_wp.png +2 -2
- gen_compare_guess_mode/output_images/diffusers/output_bird_hed_0_gm_wp.png +2 -2
- gen_compare_guess_mode/output_images/diffusers/output_bird_hed_1_gm_wp.png +2 -2
- gen_compare_guess_mode/output_images/diffusers/output_bird_hed_2_gm_wp.png +2 -2
- gen_compare_guess_mode/output_images/diffusers/output_bird_hed_3_gm_wp.png +2 -2
- gen_compare_guess_mode/output_images/diffusers/output_bird_mlsd_0_gm_wp.png +2 -2
- gen_compare_guess_mode/output_images/diffusers/output_bird_mlsd_1_gm_wp.png +2 -2
- gen_compare_guess_mode/output_images/diffusers/output_bird_mlsd_2_gm_wp.png +2 -2
- gen_compare_guess_mode/output_images/diffusers/output_bird_mlsd_3_gm_wp.png +2 -2
- gen_compare_guess_mode/output_images/diffusers/output_bird_normal_0_gm_wp.png +2 -2
- gen_compare_guess_mode/output_images/diffusers/output_bird_normal_1_gm_wp.png +2 -2
- gen_compare_guess_mode/output_images/diffusers/output_bird_normal_2_gm_wp.png +2 -2
- gen_compare_guess_mode/output_images/diffusers/output_bird_normal_3_gm_wp.png +2 -2
- gen_compare_guess_mode/output_images/diffusers/output_bird_openpose_0_gm_wp.png +2 -2
- gen_compare_guess_mode/output_images/diffusers/output_bird_openpose_1_gm_wp.png +2 -2
- gen_compare_guess_mode/output_images/diffusers/output_bird_openpose_2_gm_wp.png +2 -2
- gen_compare_guess_mode/output_images/diffusers/output_bird_openpose_3_gm_wp.png +2 -2
- gen_compare_guess_mode/output_images/diffusers/output_bird_scribble_0_gm_wp.png +2 -2
- gen_compare_guess_mode/output_images/diffusers/output_bird_scribble_1_gm_wp.png +2 -2
- gen_compare_guess_mode/output_images/diffusers/output_bird_scribble_2_gm_wp.png +2 -2
- gen_compare_guess_mode/output_images/diffusers/output_bird_scribble_3_gm_wp.png +2 -2
- gen_compare_guess_mode/output_images/diffusers/output_bird_seg_0_gm_wp.png +2 -2
- gen_compare_guess_mode/output_images/diffusers/output_bird_seg_1_gm_wp.png +2 -2
- gen_compare_guess_mode/output_images/diffusers/output_bird_seg_2_gm_wp.png +2 -2
- gen_compare_guess_mode/output_images/diffusers/output_bird_seg_3_gm_wp.png +2 -2
- gen_compare_guess_mode/output_images/diffusers/output_human_canny_0_gm_wp.png +2 -2
- gen_compare_guess_mode/output_images/diffusers/output_human_canny_1_gm_wp.png +2 -2
- gen_compare_guess_mode/output_images/diffusers/output_human_canny_2_gm_wp.png +2 -2
- gen_compare_guess_mode/output_images/diffusers/output_human_canny_3_gm_wp.png +2 -2
- gen_compare_guess_mode/output_images/diffusers/output_human_depth_0_gm_wp.png +2 -2
- gen_compare_guess_mode/output_images/diffusers/output_human_depth_1_gm_wp.png +2 -2
- gen_compare_guess_mode/output_images/diffusers/output_human_depth_2_gm_wp.png +2 -2
- gen_compare_guess_mode/output_images/diffusers/output_human_depth_3_gm_wp.png +2 -2
- gen_compare_guess_mode/output_images/diffusers/output_human_hed_0_gm_wp.png +2 -2
- gen_compare_guess_mode/output_images/diffusers/output_human_hed_1_gm_wp.png +2 -2
- gen_compare_guess_mode/output_images/diffusers/output_human_hed_2_gm_wp.png +2 -2
- gen_compare_guess_mode/output_images/diffusers/output_human_hed_3_gm_wp.png +2 -2
- gen_compare_guess_mode/output_images/diffusers/output_human_mlsd_0_gm_wp.png +2 -2
- gen_compare_guess_mode/output_images/diffusers/output_human_mlsd_1_gm_wp.png +2 -2
- gen_compare_guess_mode/output_images/diffusers/output_human_mlsd_2_gm_wp.png +2 -2
gen_compare_guess_mode/README.md
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
gen_compare_guess_mode/gen_diffusers_image.py
CHANGED
@@ -66,3 +66,9 @@ if __name__ == '__main__':
|
|
66 |
control=control,
|
67 |
guess_mode=True)
|
68 |
image.save(f'{output_image_folder}output_{image_type}_{model_name}_{seed}_gm.png')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
66 |
control=control,
|
67 |
guess_mode=True)
|
68 |
image.save(f'{output_image_folder}output_{image_type}_{model_name}_{seed}_gm.png')
|
69 |
+
image = generate_image(seed=seed,
|
70 |
+
prompt=test_prompt,
|
71 |
+
negative_prompt=test_negative_prompt,
|
72 |
+
control=control,
|
73 |
+
guess_mode=True)
|
74 |
+
image.save(f'{output_image_folder}output_{image_type}_{model_name}_{seed}_gm_wp.png')
|
gen_compare_guess_mode/gen_markdown.py
CHANGED
@@ -13,10 +13,12 @@ def print_header():
|
|
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) * 2 + 1):
|
20 |
print("---|", end="")
|
21 |
print("")
|
22 |
|
@@ -44,6 +46,7 @@ for cnet in cnet_models:
|
|
44 |
url = get_url(path=f"{proc}/output_{image_type}_{cnet}_{seed:01d}_gm.png")
|
45 |
print(f'<a href="{url}"><img width="128" src="{url}"/></a>|', end="")
|
46 |
|
47 |
-
|
48 |
-
|
|
|
49 |
print("")
|
|
|
13 |
print(f"{proc} with prompt|", end="")
|
14 |
for proc in processors:
|
15 |
print(f"{proc} guess_mode|", end="")
|
16 |
+
for proc in ['diffusers']:
|
17 |
+
print(f"{proc} guess_mode with prompt|", end="")
|
18 |
print("")
|
19 |
|
20 |
print("|", end="")
|
21 |
+
for _ in range(len(processors) * 2 + 1 + 1):
|
22 |
print("---|", end="")
|
23 |
print("")
|
24 |
|
|
|
46 |
url = get_url(path=f"{proc}/output_{image_type}_{cnet}_{seed:01d}_gm.png")
|
47 |
print(f'<a href="{url}"><img width="128" src="{url}"/></a>|', end="")
|
48 |
|
49 |
+
for proc in ['diffusers']:
|
50 |
+
url = get_url(path=f"{proc}/output_{image_type}_{cnet}_{seed:01d}_gm_wp.png")
|
51 |
+
print(f'<a href="{url}"><img width="128" src="{url}"/></a>|', end="")
|
52 |
print("")
|
gen_compare_guess_mode/output_images/diffusers/output_bird_canny_0_gm_wp.png
CHANGED
Git LFS Details
|
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_canny_1_gm_wp.png
CHANGED
Git LFS Details
|
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_canny_2_gm_wp.png
CHANGED
Git LFS Details
|
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_canny_3_gm_wp.png
CHANGED
Git LFS Details
|
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_depth_0_gm_wp.png
CHANGED
Git LFS Details
|
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_depth_1_gm_wp.png
CHANGED
Git LFS Details
|
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_depth_2_gm_wp.png
CHANGED
Git LFS Details
|
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_depth_3_gm_wp.png
CHANGED
Git LFS Details
|
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_hed_0_gm_wp.png
CHANGED
Git LFS Details
|
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_hed_1_gm_wp.png
CHANGED
Git LFS Details
|
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_hed_2_gm_wp.png
CHANGED
Git LFS Details
|
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_hed_3_gm_wp.png
CHANGED
Git LFS Details
|
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_mlsd_0_gm_wp.png
CHANGED
Git LFS Details
|
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_mlsd_1_gm_wp.png
CHANGED
Git LFS Details
|
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_mlsd_2_gm_wp.png
CHANGED
Git LFS Details
|
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_mlsd_3_gm_wp.png
CHANGED
Git LFS Details
|
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_normal_0_gm_wp.png
CHANGED
Git LFS Details
|
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_normal_1_gm_wp.png
CHANGED
Git LFS Details
|
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_normal_2_gm_wp.png
CHANGED
Git LFS Details
|
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_normal_3_gm_wp.png
CHANGED
Git LFS Details
|
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_openpose_0_gm_wp.png
CHANGED
Git LFS Details
|
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_openpose_1_gm_wp.png
CHANGED
Git LFS Details
|
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_openpose_2_gm_wp.png
CHANGED
Git LFS Details
|
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_openpose_3_gm_wp.png
CHANGED
Git LFS Details
|
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_scribble_0_gm_wp.png
CHANGED
Git LFS Details
|
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_scribble_1_gm_wp.png
CHANGED
Git LFS Details
|
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_scribble_2_gm_wp.png
CHANGED
Git LFS Details
|
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_scribble_3_gm_wp.png
CHANGED
Git LFS Details
|
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_seg_0_gm_wp.png
CHANGED
Git LFS Details
|
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_seg_1_gm_wp.png
CHANGED
Git LFS Details
|
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_seg_2_gm_wp.png
CHANGED
Git LFS Details
|
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_bird_seg_3_gm_wp.png
CHANGED
Git LFS Details
|
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_human_canny_0_gm_wp.png
CHANGED
Git LFS Details
|
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_human_canny_1_gm_wp.png
CHANGED
Git LFS Details
|
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_human_canny_2_gm_wp.png
CHANGED
Git LFS Details
|
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_human_canny_3_gm_wp.png
CHANGED
Git LFS Details
|
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_human_depth_0_gm_wp.png
CHANGED
Git LFS Details
|
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_human_depth_1_gm_wp.png
CHANGED
Git LFS Details
|
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_human_depth_2_gm_wp.png
CHANGED
Git LFS Details
|
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_human_depth_3_gm_wp.png
CHANGED
Git LFS Details
|
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_human_hed_0_gm_wp.png
CHANGED
Git LFS Details
|
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_human_hed_1_gm_wp.png
CHANGED
Git LFS Details
|
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_human_hed_2_gm_wp.png
CHANGED
Git LFS Details
|
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_human_hed_3_gm_wp.png
CHANGED
Git LFS Details
|
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_human_mlsd_0_gm_wp.png
CHANGED
Git LFS Details
|
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_human_mlsd_1_gm_wp.png
CHANGED
Git LFS Details
|
Git LFS Details
|
gen_compare_guess_mode/output_images/diffusers/output_human_mlsd_2_gm_wp.png
CHANGED
Git LFS Details
|
Git LFS Details
|