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
Metadata
Release files for widget-eval 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| widget_eval-0.1.1.tar.gz | 8.2 kB | Without provenance | Details for widget_eval-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| widget_eval-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for widget_eval-0.1.1-py3-none-any.whl |
Total release size: 16.9 kB
Release files / widget_eval-0.1.1.tar.gz
| Download URL | widget_eval-0.1.1.tar.gz |
|---|---|
| Size | 8.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f3ebb03b813e5e2bafd087ae1b346b3c395bdc8a9d84a3db7837d226f1c07f3b
|
|
BLAKE2b-256 checksum How to use checksums |
5a3f0737ae5f5d63f217c3b20c78ab7cf7ff88a7bd7e655252190247845c4258
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Release files / widget_eval-0.1.1-py3-none-any.whl
| Download URL | widget_eval-0.1.1-py3-none-any.whl |
|---|---|
| Size | 8.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
51a4cae48248d6ffe20bfe84e4563a8b84b9c8afc75763ea20c1a1d9c7136227
|
|
BLAKE2b-256 checksum How to use checksums |
5cb20e80fe1e9ad9504ba200ea4773aa87c15ae53564f484fada155119e134b6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Security for widget-eval 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.