https://github.com/bing-su/sdsim
a similarity calculatior for stable diffusion checkpoints
https://github.com/bing-su/sdsim
Last synced: 4 months ago
JSON representation
a similarity calculatior for stable diffusion checkpoints
- Host: GitHub
- URL: https://github.com/bing-su/sdsim
- Owner: Bing-su
- License: mit
- Created: 2023-01-25T03:47:30.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-25T03:56:21.000Z (over 2 years ago)
- Last Synced: 2025-02-02T17:46:15.313Z (4 months ago)
- Language: Python
- Homepage:
- Size: 49.8 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# sdsim
stable diffusion model similarity calculatior
original:
modified:
packaging: here
## Install
```sh
pip install sdsim
```## Usage
```sh
sdsim animefull-latest.ckpt ACertainModel.safetensors
``````sh
sdsim -nv -j result.json animefull-latest.ckpt ACertainModel.safetensors
``````sh
❯ sdsim --help
usage: sdsim [-h] [-j JSON] [-s SEED] [-nv] base targets [targets ...]positional arguments:
base
targetsoptional arguments:
-h, --help show this help message and exit
-j JSON, --json JSON
-s SEED, --seed SEED
-nv, --no-verbose
``````python
from sdsim import similaritymodel1 = "animefull-latest.ckpt"
model2 = "ACertainModel.safetensors"
model3 = "AbyssOrangeMix2_nsfw.safetensors"
result = similarity(model1, [model2, model3], verbose=True)
```