Skip to main content

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

  1. Evaluation — Computes 12 quality metrics (layout, legibility, style, perceptual, geometry) for each GT-prediction pair
  2. Statistics — Aggregates results into metrics_stats.json and metrics.xlsx

License

Apache-2.0

Project details


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

widget_eval-0.1.1-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

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

Hashes for widget_eval-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f3ebb03b813e5e2bafd087ae1b346b3c395bdc8a9d84a3db7837d226f1c07f3b
MD5 5692004016c1b4298b0ecb87d763d802
BLAKE2b-256 5a3f0737ae5f5d63f217c3b20c78ab7cf7ff88a7bd7e655252190247845c4258

See more details on using hashes here.

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

Hashes for widget_eval-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 51a4cae48248d6ffe20bfe84e4563a8b84b9c8afc75763ea20c1a1d9c7136227
MD5 a80ce9d8b23a89de2419f6202cd54216
BLAKE2b-256 5cb20e80fe1e9ad9504ba200ea4773aa87c15ae53564f484fada155119e134b6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page