Skip to content

Mohamed-Desouki/cosine_similarities_difference

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

Cosine Similarities - Difference

This python script aims to calculate difference between 2 stable diffusion models. When I am reading about stable diffusion models merges I found on repositories (https://github.com/recoilme/losslessmix), and (https://github.com/hako-mikan/sd-webui-supermerger) very detailed and good technique for merging models.

I thought about calculating the difference between the models before the merge and save some time to decide if the models are close enough or far to merge. Hence we can use another models.

I made this python script to compare the 2 models and output the results into 2 text files, one for the similarities below 90% and the other for higher or equal to 90 %. I suggested the idean and the code to (hako-mikan) and he merged the code into his code. By the way, his extension is the best for stable diffusion merges.

Mohamed

About

calculate difference between 2 stable diffusion models.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages