Replies: 5 comments 1 reply
-
Beta Was this translation helpful? Give feedback.
-
|
During validation, we send a The diffusers/examples/dreambooth/train_dreambooth_sd3.py Lines 1724 to 1734 in 1c50a5f This is to ensure that the models being requested for fine-tuning are present in |
Beta Was this translation helpful? Give feedback.
-
Thanks, I understand it,
|
Beta Was this translation helpful? Give feedback.
-
|
You can just save the component and use the pipeline like so: finetuned_component = AutoModel.from_pretrained("your-finetuned-directory")
pipe = DiffusionPipeline(pretrained_ckpt_id, transformer=finetuned_component) |
Beta Was this translation helpful? Give feedback.
-
Thanks, as some core processings need to be modified, I copied the previous pipeline which maybe DiffusionPipline here and renamed it, but i can not be imported. I also try to import it manually with the relative path, but still failed, so how to import a newly custom pipeline? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I wonder why it still load from args.pretrained_model_name_or_path as it has saved the finetuned model in the save_path which is "os.path.join(args.output_dir, f"checkpoint-{global_step}")".
so, how to how to load the finetuned model during validation phase?
Another confusion, what is the difference between " StableDiffusion3Pipeline.from_pretrained() " and "SD3Transformer2DModel.from_pretrained" as the following:
Beta Was this translation helpful? Give feedback.
All reactions