Closed sunzhe09 closed 5 months ago
I want to test my custom images,just combine the two image‘s subject。if it work ,I will make my ads picture,thx
Hello @sunzhe09 , glad to hear that you are using our work! If you want to test your custom images, maybe you should train your own ckpt in custom images. I am not sure what do you mean by “pretain ckpt” (If it refers to the SD weights, you can run the train code and it will be downloaded automatically. ) , if you’re interested in the ckpt of concepts in data, just tell me and I am glad to share that. Reach out if you have further questions!
I just want to test this code: import torch from diffusers import DiffusionPipeline
pipeline = DiffusionPipeline.from_pretrained("runwayml/stable-diffusion-v1-5", torch_dtype=torch.float16).to("cuda")
pipeline.unet.load_attn_procs("path-to-save-model", weight_name="pytorch_custom_diffusion_weights.bin")
pipeline.load_textual_inversion("path-to-save-model", weight_name="
image = pipeline(
"a
but I can’t get path-to-save-model。it is appreciated if you could share the bin or gradio demo
Hi @sunzhe09 , I see.
ckpt/${CLS_TOKEN1}_${CLS_TOKEN2}
. You can use it as the path-to-save-modelbtw, I share a result generated by this ckpt.
If you have further questions, feel free to comment.
Hello @sunzhe09 thanks for interest. Which concept are u interested in ? And what are u want to use the pretrained ckpt for?