Installing the XMOS AI Tools

Overview

The AI Tools are a collection of Python scripts, tools and libraries to convert TensorFlow Lite for Microcontroller models to a format targeting accelerated operations on the xcore.ai platform.

Installation

System Requirements

Make sure your system meets the minumum system requirements and that you have installed all necessary prerequisites.

In addition, Python 3.8 + is required.

Set up Virtual Environment

While not required, we recommend you setup an Anaconda or other Python virtual environment before installing the AI Tools.

If necessary, download and follow Anaconda’s installation instructions.

Run the following command to create a Conda environment:

conda create --prefix xcore_sdk_venv python=3.8

Run the following command to activate the Conda environment:

conda activate xcore_sdk_venv

Install AI Tools

The following commands will install all required libraries.

pip install xmos-ai-tools