Metadata-Version: 2.1
Name: hearvalidator
Version: 2021.0.2
Summary: Holistic Evaluation of Audio Representations (HEAR) 2021 -- Submission Validator
Home-page: https://github.com/neuralaudio/hear-validator
Author: HEAR 2021 NeurIPS Competition Committee
Author-email: deep@neuralaudio.ai
License: Apache-2.0
Project-URL: Bug Tracker, https://github.com/neuralaudio/hear-validator/issues
Project-URL: Source Code, https://github.com/neuralaudio/hear-validator
Platform: UNKNOWN
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: tensorflow (>=2.0)
Requires-Dist: torch (>=1.7)
Provides-Extra: dev
Requires-Dist: pre-commit ; extra == 'dev'
Requires-Dist: black ; extra == 'dev'

![HEAR2021](https://neuralaudio.ai/assets/img/hear-header-sponsor.jpg)
# HEAR 2021 Submission Validator

This package provides a command-line tool to verify that a python module follows the
HEAR 2021 [common API](https://neuralaudio.ai/hear2021-holistic-evaluation-of-audio-representations.html#common-api).

For full details on the HEAR 2021 NeurIPS competition please visit the
[competition website.](https://neuralaudio.ai/hear2021-holistic-evaluation-of-audio-representations.html)

### Installation
```python
pip install hearvalidator
```
This will install a command-line tool: `hear-validator`

### Usage
Let's validate the [HEAR baseline model](https://github.com/neuralaudio/hear-baseline):
```
pip install hearbaseline
wget https://github.com/neuralaudio/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.


