Skip to main content

Holistic Evaluation of Audio Representations (HEAR) 2021 -- Submission Validator

Project description

HEAR Benchmark Submission Validator

This package provides a command-line tool to verify that a python module follows the HEAR common API.

For full details on the HEAR benchmark please visit https://hearbenchmark.com

Installation

Tested with Python 3.7 and 3.8. Python 3.9 is not officially supported because pip3 installs are very finicky, but it might work.

pip install hearvalidator

This will install a command-line tool: hear-validator

Usage

Let's validate the HEAR naive baseline model:

pip install hearbaseline
wget https://github.com/hearbenchmark/hear-baseline/raw/main/saved_models/naive_baseline.pt
hear-validator hearbaseline --model ./naive_baseline.pt

Optional arguments for hear-validator:

  • --model: Load the model weights from this path.
  • --device: Device to run validation on. If this isn't specified then this will run on a GPU if one is present. If no GPU is available then this will default to the CPU.

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

hearvalidator-2021.0.6.tar.gz (9.6 kB view hashes)

Uploaded Source

Built Distribution

hearvalidator-2021.0.6-py3-none-any.whl (10.4 kB view hashes)

Uploaded Python 3

Supported by

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