First of all. Thank you for your effort.
I have some question when loading lora weight in sd.
- Is it the right way that putting sd model in this way? I mean it doesnât have to be converted with like âconvert_models_diffuser_to_diffusers.pyâ in diffusers?
model_base = "/hdd/jinnnn/anylora.safetensors"
pipeline = StableDiffusionImg2ImgPipeline.from_single_file(model_base, torch_dtype=torch.float16, safety_checker=None, requires_safety_checker=False).to('cuda')
-
Then how can I adjust the weight of the lora weight like
<lora:light_and_shadow:0.7>
in webui?
Is there any option that put any argument like âlora_weightâ in âload_lora_weightsâ function? -
How can I use the trigger word in prompt? For example if my trigger word is âiomâ, just putting âiomâ in my prompt is applied in generation?
In connection with question 3, can I adjust the lora applied weight with text prompt? -
When using
load_lora_weights
is it automatically setting the rank and alpha that was used in trainig in webui?