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.
Metadata
Release files for hearvalidator 2021.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| hearvalidator-2021.0.6.tar.gz | 9.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| hearvalidator-2021.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.0 kB
Release files / hearvalidator-2021.0.6.tar.gz
| Download URL | hearvalidator-2021.0.6.tar.gz |
|---|---|
| Size | 9.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d24f617b8d504a0c8e8c3fe1a01a484c0bc9434d9b6ca93225a965ca4eea85c0
|
|
BLAKE2b-256 checksum How to use checksums |
e682a108cde9825cbd3b44c4db5a48ddaaae792230f326ebd88326f1942c8b43
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.13
|
Release files / hearvalidator-2021.0.6-py3-none-any.whl
| Download URL | hearvalidator-2021.0.6-py3-none-any.whl |
|---|---|
| Size | 10.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a3b34a97427d075c5be44abcc66a923f4645b3d5a77263ffede131492bf0ea2a
|
|
BLAKE2b-256 checksum How to use checksums |
fe49fd5bcea5df70465960637f29fa197bf9e55f541897967224a739ae64d68a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.13
|