hollowstrawberry/kohya-colab

How to add VAE to training

Eliont opened this issue · 6 comments

Eliont commented

Hello and good time of day.

How to add custom VAE to training when training with custom model?

Thanks for you work, best lora training colab i've ever seen.

I second this, please add, excellent work

Oh I'm sorry that I missed this - I haven't added it before as my sources say using an external VAE when training leads to worse results. If you really want to, I can look into it.

Interesting, do you have any references to that claim re VAEs? Would be great to know. Also Kohya's modules have regularisation images section and I see advice regarding using this. In the colab there is no option to add regularisation images, just the training images. Any intention of implementing this? Referenced here: https://youtu.be/TpuDOsuKIBo?t=861

You can work with multiple folders in the Extras below the main cell of the trainer. You can make one of them a regularisation folder with is_reg=true

Thank you

Closed as not planned for now