Open janzd opened 4 months ago
The KOSMOS-G paper and the project page mention using LoRA for image generation with KOSMOS-G. How and in what format can we add trained LoRAs to the base SD model of KOSMOS-G? I couldn't really find out how to do it from the code.
@janzd Hi, you can refer to the code here https://github.com/microsoft/unilm/blob/b824f95357f63cafbd7bfd7ed73c2f7f49b8254d/kosmos-g/app_model.py#L108
The KOSMOS-G paper and the project page mention using LoRA for image generation with KOSMOS-G. How and in what format can we add trained LoRAs to the base SD model of KOSMOS-G? I couldn't really find out how to do it from the code.