fix diffusers script for correct model_id
Browse files- gen_compare_v11/gen_diffusers_image.py +2 -3
- gen_compare_v11/output_images/diffusers/output_e_sd15_shuffle_0_0.png +2 -2
- gen_compare_v11/output_images/diffusers/output_e_sd15_shuffle_0_1.png +2 -2
- gen_compare_v11/output_images/diffusers/output_e_sd15_shuffle_0_2.png +2 -2
- gen_compare_v11/output_images/diffusers/output_e_sd15_shuffle_0_3.png +2 -2
- gen_compare_v11/output_images/diffusers/output_e_sd15_shuffle_1_0.png +2 -2
- gen_compare_v11/output_images/diffusers/output_e_sd15_shuffle_1_1.png +2 -2
- gen_compare_v11/output_images/diffusers/output_e_sd15_shuffle_1_2.png +2 -2
- gen_compare_v11/output_images/diffusers/output_e_sd15_shuffle_1_3.png +2 -2
- gen_compare_v11/output_images/diffusers/output_e_sd15_shuffle_2_0.png +2 -2
- gen_compare_v11/output_images/diffusers/output_e_sd15_shuffle_2_1.png +2 -2
- gen_compare_v11/output_images/diffusers/output_e_sd15_shuffle_2_2.png +2 -2
- gen_compare_v11/output_images/diffusers/output_e_sd15_shuffle_2_3.png +2 -2
gen_compare_v11/gen_diffusers_image.py
CHANGED
@@ -39,10 +39,9 @@ if __name__ == '__main__':
|
|
39 |
output_image_folder = './output_images/diffusers/'
|
40 |
os.makedirs(output_image_folder, exist_ok=True)
|
41 |
|
42 |
-
model_id =
|
43 |
-
subfolder = f'control_v11{model_name}'
|
44 |
|
45 |
-
controlnet = ControlNetModel.from_pretrained(model_id
|
46 |
if model_name == 'p_sd15s2_lineart_anime':
|
47 |
base_model_id = 'Linaqruf/anything-v3.0'
|
48 |
base_model_revision = None
|
|
|
39 |
output_image_folder = './output_images/diffusers/'
|
40 |
os.makedirs(output_image_folder, exist_ok=True)
|
41 |
|
42 |
+
model_id = f"lllyasviel/control_v11{model_name}"
|
|
|
43 |
|
44 |
+
controlnet = ControlNetModel.from_pretrained(model_id)
|
45 |
if model_name == 'p_sd15s2_lineart_anime':
|
46 |
base_model_id = 'Linaqruf/anything-v3.0'
|
47 |
base_model_revision = None
|
gen_compare_v11/output_images/diffusers/output_e_sd15_shuffle_0_0.png
CHANGED
Git LFS Details
|
Git LFS Details
|
gen_compare_v11/output_images/diffusers/output_e_sd15_shuffle_0_1.png
CHANGED
Git LFS Details
|
Git LFS Details
|
gen_compare_v11/output_images/diffusers/output_e_sd15_shuffle_0_2.png
CHANGED
Git LFS Details
|
Git LFS Details
|
gen_compare_v11/output_images/diffusers/output_e_sd15_shuffle_0_3.png
CHANGED
Git LFS Details
|
Git LFS Details
|
gen_compare_v11/output_images/diffusers/output_e_sd15_shuffle_1_0.png
CHANGED
Git LFS Details
|
Git LFS Details
|
gen_compare_v11/output_images/diffusers/output_e_sd15_shuffle_1_1.png
CHANGED
Git LFS Details
|
Git LFS Details
|
gen_compare_v11/output_images/diffusers/output_e_sd15_shuffle_1_2.png
CHANGED
Git LFS Details
|
Git LFS Details
|
gen_compare_v11/output_images/diffusers/output_e_sd15_shuffle_1_3.png
CHANGED
Git LFS Details
|
Git LFS Details
|
gen_compare_v11/output_images/diffusers/output_e_sd15_shuffle_2_0.png
CHANGED
Git LFS Details
|
Git LFS Details
|
gen_compare_v11/output_images/diffusers/output_e_sd15_shuffle_2_1.png
CHANGED
Git LFS Details
|
Git LFS Details
|
gen_compare_v11/output_images/diffusers/output_e_sd15_shuffle_2_2.png
CHANGED
Git LFS Details
|
Git LFS Details
|
gen_compare_v11/output_images/diffusers/output_e_sd15_shuffle_2_3.png
CHANGED
Git LFS Details
|
Git LFS Details
|