sdsim
stable diffusion model similarity calculatior
original: https://huggingface.co/JosephusCheung/ASimilarityCalculatior
modified: https://gist.github.com/toriato/87db2b3cbe9863be43b63ba10cd610ad
packaging: here
Install
pip install sdsim
Usage
sdsim animefull-latest.ckpt ACertainModel.safetensors
sdsim -nv -j result.json animefull-latest.ckpt ACertainModel.safetensors
❯ sdsim --help
usage: sdsim [-h] [-j JSON] [-s SEED] [-nv] base targets [targets ...]
positional arguments:
base
targets
optional arguments:
-h, --help show this help message and exit
-j JSON, --json JSON
-s SEED, --seed SEED
-nv, --no-verbose
from sdsim import similarity
model1 = "animefull-latest.ckpt"
model2 = "ACertainModel.safetensors"
model3 = "AbyssOrangeMix2_nsfw.safetensors"
result = similarity(model1, [model2, model3], verbose=True)
Metadata
Release files for sdsim 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sdsim-0.1.0.tar.gz | 4.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sdsim-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.4 kB
Release files / sdsim-0.1.0.tar.gz
| Download URL | sdsim-0.1.0.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
31222a22324e4a368fe05721f51c86817efe13e0289f0c14477d191ec958f5ff
|
|
BLAKE2b-256 checksum How to use checksums |
90a6d2c7523126bbeb90b4f66281ac6f05b77dc4b9817dfbb772932be847e0a5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
pdm/2.4.0 CPython/3.8.15
|
Release files / sdsim-0.1.0-py3-none-any.whl
| Download URL | sdsim-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
117ee73ccecc70237e7e7d444dbd1db42cf27116511c90abb3a2d6cb073b5270
|
|
BLAKE2b-256 checksum How to use checksums |
e43f4bcf3f61de1822b8c55d8df009356da40d06a0e2a885a2189184ea8d878c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
pdm/2.4.0 CPython/3.8.15
|