Giter Site home page Giter Site logo

lm20.1-thsenseiotkit-ei's Introduction

Overview

This short tutorial describes a way to make a virtual machine configured for creating and running machine learning models created using Edge Impulse plaform, for a Silicon Labs Thunderbird Sense 2 Iot Kit.

The virtualization environment is VirtualBox, and the guest machine runs Linux Mint 20.1.

Prerequisites

  • Hardware: a 64-bit computer with enough memory so that the VM can be granted 16 GB, with a few tens of GB available on the disk, and one free USB A port
  • Hardware (bis): a Silicon Labs Thunderboard Sense 2 board with an USB A / micro USB B cable
  • Developer:
    • basic knowledge of Linux (knowing the most common commands...)
    • basic knowledge of VirtualBox (knowing how to create a virtual machine...)

Creation of the VM

Check this guide. Don't forget to add the user to dialout group, as stated.

VM configuration

Reference documents

Installing dependencies

Install g++ (required by Edge Impulse CLI installation):

$ sudo apt install g++

Install nvm as described here.

Then install npm:

$ nvm install v14.16.0  # The current LTS version.

Install screen:

$ sudo apt install screen

Install Edge Impulse CLI:

$ npm install -g edge-impulse-cli

Several warnings and notes are displayed. Let's suppose we can ignore them...

Connecting to Edge Impulse

Signup on Edge Impulse website.

Connect the Thunderboard Sense 2 board to a USB port of the host machine. Ask VirtualBox to capture it for the virtual machine: in VirtualBox menu for the VM, select Devices > USB and tick Silicon Labs J-Link OB [0100]. To make the capture permanent, select Devices > USB > USB Settings... and add a USB device filter for the board.

Then follow Edge Impulse instructions.

If you face the Error while connecting to CPU problem when flashing the board with the Edge Impulse binary file, push the board RESET button, keep it pushed until you start copying the binary file to the TB004 drive, and release it (installing Simplicity Studio 5 as proposed in the instructions above did not correct the problem for me while using the RESET button did it).

Start playing with ML

Follow the continuous motion recognition tutorial, for instance.

lm20.1-thsenseiotkit-ei's People

Contributors

pascalbod avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.