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.0.tar.gz
(8.3 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.0.tar.gz.
File metadata
- Download URL: widget_eval-0.1.0.tar.gz
- Upload date:
- Size: 8.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b1c5d678b739b4eb5a94f3d4de758ba61d1e31add5079eeb7c6a074dfccf9d11
|
|
| MD5 |
6c58294e0d46578e548dfe5bb74b56ee
|
|
| BLAKE2b-256 |
32d85ee1225edf9ec7ff2483204815eae078123d63f581a352c6aaebb0676c54
|
File details
Details for the file widget_eval-0.1.0-py3-none-any.whl.
File metadata
- Download URL: widget_eval-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.8 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 |
0fbd33e95273759447a64a291cdb98d41da12f9a78cb61427f7620ba65121b43
|
|
| MD5 |
4a61b75929a599d44b6d0943f32b7191
|
|
| BLAKE2b-256 |
164d6f4a178435d54ebecf52b70dca359b0d381d30977fa32f42a79757e486ae
|