Skip to main content

Tools for working with NengoEdge

Project description

NengoEdge Tools

NengoEdge is a cloud-based platform for training and deploying high accuracy, low power audio AI models on edge devices. This package contains tools and examples to assist in taking a trained model exported from NengoEdge and deploying it in your own application.

To get started running NengoEdge models locally, set up a Python environment using the installation instructions below. Then download the live microphone demo notebook and open it with:

jupyter notebook /path/to/microphone-demo.ipynb
https://www.nengo.ai/nengo-edge/_static/demo.png

Installation

NengoEdge models use the TensorFlow machine learning library. If you already have TensorFlow installed, then all you need is to:

pip install nengo-edge

If you do not have TensorFlow installed, see the see the full installation instructions for more details.

Release history

23.9.27 (September 27, 2023)

Added

  • Added warning when a downloaded nengo-edge model artifacts’ version does not match local environment nengo-edge version. (#6)

  • Added nengo-edge package-dataset CLI command, which can be used to validate and package KWS and ASR datasets. (#10)

Changed

  • SavedModelRunner now uses Keras’ SavedModel format, instead of the raw TensorFlow SavedModel format. (#8)

  • SavedModelRunner can now take ragged object-arrays as input. (#8)

23.7.30 (July 30, 2023)

Added

  • Added CoralRunner for running models exported for the Coral board. (#4)

  • Added DiscoRunner for running models exported for the Disco board. (#4)

  • Added NordicRunner for running models exported for the Nordic board. (#4)

  • Added on-device MFCC extraction code (device_modules.np_mfcc.LogMelFeatureExtractor). (#4)

  • Added two new examples demonstrating how to run models exported for the Coral/Disco/Nordic devices. (#4)

Changed

  • Renamed tflite_runner.Runner to TFLiteRunner. (#4)

  • Renamed saved_model_runner.Runner to SavedModelRunner. (#4)

  • TFLiteRunner.reset_state now takes a batch_size argument, which can be used to prepare the model to run with different batch sizes. (#5)

23.2.23 (February 23, 2023)

Fixed

  • Fixed an issue causing pip to refuse to install nengo-edge. (#3)

23.1.31 (January 31, 2023)

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

nengo-edge-23.9.27.tar.gz (165.1 kB view details)

Uploaded Source

Built Distribution

nengo_edge-23.9.27-py3-none-any.whl (39.9 kB view details)

Uploaded Python 3

File details

Details for the file nengo-edge-23.9.27.tar.gz.

File metadata

  • Download URL: nengo-edge-23.9.27.tar.gz
  • Upload date:
  • Size: 165.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for nengo-edge-23.9.27.tar.gz
Algorithm Hash digest
SHA256 cbca4925c0648788cd0fbce605f969d4f3202cf923b03a15932e7daf25cb84ab
MD5 322bd37eb786709356276e482b4f7b39
BLAKE2b-256 eac2010b542c6578e8e61bb4520b87dfeacf0e0a90fa1c9dd8f8ae3283a4a87b

See more details on using hashes here.

File details

Details for the file nengo_edge-23.9.27-py3-none-any.whl.

File metadata

  • Download URL: nengo_edge-23.9.27-py3-none-any.whl
  • Upload date:
  • Size: 39.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for nengo_edge-23.9.27-py3-none-any.whl
Algorithm Hash digest
SHA256 94dbef256aefb3e41a549254ba06f77c328bf617fc127812ff364de5ab85841b
MD5 11a319d6dbb32a94696b660250d7ad99
BLAKE2b-256 39e56ca15841cd852476b473b34b6a1be0c5e0ba34d0461923e99d227b9c2108

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