Replies: 4 comments 12 replies
-
This means merging 2 (or 1000) models without losing details of either. It means you can finetune/dreambooth multiple characters, multiple objects, multiple concepts, styles etc. It means distributed training and sharing. |
Beta Was this translation helpful? Give feedback.
-
But did actually anybody tried it? |
Beta Was this translation helpful? Give feedback.
-
@AUTOMATIC1111 |
Beta Was this translation helpful? Give feedback.
-
Merged two ckpt files using Git-re-Basin Script:
This was merged using Automatic1111's default merging Method "Weighted Sum"
Right now Git-re-basin doesn't works with all ckpt files. Maybe because there is no one standard for all ckpt files. I don't know. This Method didn't gave the result I expected. I thought it will be able to completely merge, both ckpt files, without loosing details of the person. If we observe the above images, I chose a custom trained person's model ckpt file, and the second one is dreamlike ckpt. I chose them because I can use "sks" and check if the person data is preserved while merging or not. This Method of merging is similar to Weighted Sum, we have to choose the percentage of lose, which in a way we can call how much of the B file to merge with the A file. It doesn't mean that we are atleast having complete A. We will be sacrificing some of it too. Using git-re-basin Method is giving just a little more preserving of the person details, based on the above example. But I could be wrong, or git-re-basin could be more capable if GPU is allowed, OR maybe code or method could be improved little more to make it perform well. I don't know because i am not a programmer. I can only test and see if works/helps me with my requirement. SO, in conclusion... Git-re-basin is little better than usual Weighted Sum. and it works in reverse. Usually B is added to A, based on my limited understanding. But git-re-basin adds A to B. We have a multiplier M, but this has "alpha" and also "iterations"
|
Beta Was this translation helpful? Give feedback.
-
#1462
https://github.com/samuela/git-re-basin
Came across, wanted to know what it means.
Beta Was this translation helpful? Give feedback.
All reactions