Skip to main content

Deploy models in ONNX format

Project description

Test status code coverage audonnx's documentation audonnx's supported Python versions audonnx's MIT license

audonnx deploys machine learning models stored in ONNX format.

Machine learning models can be trained in a variety of frameworks, e.g. scikit-learn, TensorFlow, Torch. To be independent of the training framework and its version models can be exported in ONNX format, which enables you to deploy and combine them easily.

audonnx allows you to name inputs and outputs of your model, and automatically loads the correct feature extraction from a YAML file stored with your model.

Have a look at the installation and usage instructions.

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Version 0.5.0 (2022-02-09)

  • Added: argument device

  • Changed: use CPU by default

  • Changed: require onnxruntime>=1.8.0

  • Removed: Model.forward() Model.labels, Model.predict(), Model.transform

Version 0.4.3 (2022-01-10)

  • Fixed: publication of docs failed

Version 0.4.2 (2022-01-10)

  • Fixed: publication of docs failed

Version 0.4.1 (2022-01-10)

  • Fixed: author email address in Python package metadata

Version 0.4.0 (2022-01-10)

  • Added: first public release

  • Changed: switch to MIT license

  • Changed: move repo to Github

  • Fixed: remove audsp from docstring example as we no longer depend on it

Version 0.3.3 (2021-12-30)

  • Changed: use Python 3.8 as default

Version 0.3.2 (2021-11-01)

  • Changed: use audobject >=0.6.1

Version 0.3.1 (2021-10-05)

  • Fixed: audonnx.load() try to load model from ONNX if YAML does not exist

Version 0.3.0 (2021-10-01)

  • Changed: audobject >=0.5.0

  • Changed: force .yaml extension when model is saved

  • Fixed: if possible load model from .yaml in audonnx.load()

Version 0.2.2 (2021-09-23)

  • Fixed: link to ONNX runtime CUDA mapping table

Version 0.2.1 (2021-09-15)

  • Fixed: loading of old models that contain a model.yaml file

Version 0.2.0 (2021-07-20)

  • Added: InputNode, Model.__call__(), Model.inputs, Model.outputs, OutputNode

  • Changed: reshape input to expected shape

  • Changed: do not depend on existing models in tests and documentation

  • Changed: support multiple input nodes

  • Changed: make Model serializable

  • Deprecated: Model.forward() Model.labels, Model.predict(), Model.transform

  • Removed: Model.input_node, Model.input_shape, Model.input_type, Model.output_nodes, Model.output_shape, Model.output_type,

Version 0.1.1 (2021-03-31)

  • Changed: update documentation how to select specific GPU device

Version 0.1.0 (2021-03-25)

  • Added: initial release

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

audonnx-0.5.0.tar.gz (291.7 kB view details)

Uploaded Source

Built Distribution

audonnx-0.5.0-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file audonnx-0.5.0.tar.gz.

File metadata

  • Download URL: audonnx-0.5.0.tar.gz
  • Upload date:
  • Size: 291.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for audonnx-0.5.0.tar.gz
Algorithm Hash digest
SHA256 68c3b87a7d86f33d98e602d06d6bbd99fa950c5e679aabbd64b16cfa7e23ca23
MD5 0008b302ca401f9031e93bbb2de487ef
BLAKE2b-256 fac772d3c16d3869c5331f5f146ac6f0b5f40634c5716b32366f06d4c9ae10e8

See more details on using hashes here.

File details

Details for the file audonnx-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: audonnx-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 9.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for audonnx-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ee34eeacf65c9233d901889119c6f51ddd04a52d46e0022f889174a93c263b16
MD5 d55a823ddc5acf25c4e820ea1822c0f9
BLAKE2b-256 00ae9d798c7f0140d7c7f0ded2ab2fb13a4d81aa5fbdfe2a7ce85e95d0028521

See more details on using hashes here.

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