Evaluation pipeline for widget generation — runs quality metrics and generates statistics reports.
Project description
Widget Eval
Evaluation pipeline for widget generation — runs widget-quality metrics and generates statistics reports.
Installation
pip install widget-eval
Usage
# Basic usage (CPU)
widget-eval --gt_dir /path/to/GT --pred_dir /path/to/results
# Use GPU
widget-eval --gt_dir /path/to/GT --pred_dir /path/to/results --cuda
# Skip evaluation, only generate statistics
widget-eval --gt_dir /path/to/GT --pred_dir /path/to/results --skip_eval
# Custom output directory and workers
widget-eval --gt_dir /path/to/GT --pred_dir /path/to/results --output_dir /path/to/stats --workers 8
Pipeline
- Evaluation — Computes 12 quality metrics (layout, legibility, style, perceptual, geometry) for each GT-prediction pair
- Statistics — Aggregates results into
metrics_stats.jsonandmetrics.xlsx
License
Apache-2.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
widget_eval-0.1.1.tar.gz
(8.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file widget_eval-0.1.1.tar.gz.
File metadata
- Download URL: widget_eval-0.1.1.tar.gz
- Upload date:
- Size: 8.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f3ebb03b813e5e2bafd087ae1b346b3c395bdc8a9d84a3db7837d226f1c07f3b
|
|
| MD5 |
5692004016c1b4298b0ecb87d763d802
|
|
| BLAKE2b-256 |
5a3f0737ae5f5d63f217c3b20c78ab7cf7ff88a7bd7e655252190247845c4258
|
File details
Details for the file widget_eval-0.1.1-py3-none-any.whl.
File metadata
- Download URL: widget_eval-0.1.1-py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
51a4cae48248d6ffe20bfe84e4563a8b84b9c8afc75763ea20c1a1d9c7136227
|
|
| MD5 |
a80ce9d8b23a89de2419f6202cd54216
|
|
| BLAKE2b-256 |
5cb20e80fe1e9ad9504ba200ea4773aa87c15ae53564f484fada155119e134b6
|