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.0.tar.gz (8.3 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.0-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

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

Hashes for widget_eval-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b1c5d678b739b4eb5a94f3d4de758ba61d1e31add5079eeb7c6a074dfccf9d11
MD5 6c58294e0d46578e548dfe5bb74b56ee
BLAKE2b-256 32d85ee1225edf9ec7ff2483204815eae078123d63f581a352c6aaebb0676c54

See more details on using hashes here.

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

Hashes for widget_eval-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0fbd33e95273759447a64a291cdb98d41da12f9a78cb61427f7620ba65121b43
MD5 4a61b75929a599d44b6d0943f32b7191
BLAKE2b-256 164d6f4a178435d54ebecf52b70dca359b0d381d30977fa32f42a79757e486ae

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