Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,6 @@ qemu_*.core
# A stray SQLite session file some tool writes when a database name of
# ":memory:" reaches a path. Its colon makes every Windows checkout fail.
:memory:*
# Model-benchmark output: one directory per run, holding a lossless WebP per
# model. The script's own default is benchmark-<timestamp>.
/benchmark-*/
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,30 @@ launch warnings, and current platform qualification status.
Notes for people writing decoder tests live in
[docs/testing-fixtures.md](docs/testing-fixtures.md).

### Comparing models

To see how every model handles the same clip, set up the range, crop and
settings in the app, then choose **Copy render settings** from the Render
button's context menu (Ctrl/⌘+Shift+C). The benchmark renders those exact
settings once per model and writes one WebP each, a `results.json` with
timings, and an `index.html` that shows all of them side by side:

```sh
uv run python scripts/benchmark_models.py --out benchmark-run
```

- It reads the settings from the clipboard. On Linux or a headless machine,
save them to a file and pass `--request <file>`.
- By default it renders the 13 models the app offers, about 6.8 GB of weights
on a first run. `bria-rmbg` (own licence terms) and `u2net_cloth_seg` (needs
a clothing-category input) run only when named with `--models`.
- Renders share the app's cut cache. A model whose cuts already exist for these
settings is reused rather than segmented again, and flagged in the report —
its tile may show hand-edited cuts, and its time is not a real measurement.
- To rebuild `index.html` and each model's still-image fallback from an
existing run's `results.json` and WebPs — after a report change, without
rendering again — pass `--report-only <dir>` instead of `--out`.

## License

MatteLoop's original source code, documentation, and visual assets are licensed
Expand Down
Binary file modified resources/matteloop_de.qm
Binary file not shown.
178 changes: 98 additions & 80 deletions resources/matteloop_de.ts

Large diffs are not rendered by default.

Binary file modified resources/matteloop_en.qm
Binary file not shown.
178 changes: 98 additions & 80 deletions resources/matteloop_en.ts

Large diffs are not rendered by default.

Loading