Closed BurgerAndreas closed 7 months ago
I don't think it's an issue candidate. It's better off in the "discussions".
You're trying to fine-tune a model that wasn't trained v-prediction so, adapting it with that prediction objective would require a bit of experimentation, I imagine.
Ccing @patil-suraj for further advice.
I did not know - is changing the prediction objective known to create these issues?
Would love to hear your thoughts @patil-suraj and @sayakpaul
If your model was trained using say, the Karras-style objective, then if you try to fine-tune it using "epsilon prediction" it might have repercussions because for the former the timesteps are continuous while for the latter, the timesteps are usually discrete.
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.
Please note that issues that do not follow the contributing guidelines are likely to be ignored.
Closing due to inactivity.
Describe the bug
Using
--prediction_type="v_prediction"
with the exampletext_to_image_lora.py
script leads to very weird images:With
--prediction_type="epsilon"
(default) the images turn out great:Reproduction
Same command as in provided text_to_image_lora example, but removed
--mixed_precision="fp16"
and added--prediction_type="v_prediction"
:Other settings that do not work with
--prediction_type="v_prediction"
Logs
No response
System Info
diffusers
version: 0.27.0.dev0 (also tested on 0.26)Who can help?
@sayakpaul @patrickvonplaten