mirror of
https://github.com/kohya-ss/sd-scripts.git
synced 2026-04-08 22:35:09 +00:00
add generation script
This commit is contained in:
@@ -182,7 +182,7 @@ def load_models_from_sdxl_checkpoint(model_version, ckpt_path, map_location):
|
|||||||
|
|
||||||
converted_sd, logit_scale = convert_sdxl_text_encoder_2_checkpoint(te2_sd, max_length=77)
|
converted_sd, logit_scale = convert_sdxl_text_encoder_2_checkpoint(te2_sd, max_length=77)
|
||||||
info2 = text_model2.load_state_dict(converted_sd)
|
info2 = text_model2.load_state_dict(converted_sd)
|
||||||
print("text encoder2:", info2)
|
print("text encoder 2:", info2)
|
||||||
|
|
||||||
# prepare vae
|
# prepare vae
|
||||||
print("building VAE")
|
print("building VAE")
|
||||||
|
|||||||
2547
sdxl_gen_img.py
Normal file
2547
sdxl_gen_img.py
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user