Giter VIP home page Giter VIP logo

labs's Introduction

Practical AI for the Raspberry Pi

EE292D Edge ML is a ten week Stanford class focused on running machine learning on edge devices. We're using Raspberry Pi 5 boards as our standard platform, and we teach you how to run vision, audio, and large language models locally, with no cloud connection (or charges). No prior knowledge of ML or programming is required.

We aim to make the lab assignments for this class as accessible as possible, so we're open sourcing all the code and documentation. If you want to learn how to run these models on a Pi yourself, here are links to the lab instructions:

Fork Me!

I recommend forking this project on GitHub as the first step, so you have your own copy of the code and can save any changes you end up making.

labs's People

Contributors

evmaki avatar nserrino avatar petewarden avatar yi-chin-huang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

labs's Issues

Lab2: fix for error installing tflite-runtime

For Lab2 the command to Install TensorFlow Lite python module failed for me with this error.

pip install --break-system-packages tflite-runtime
ERROR: Could not install packages due to an OSError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Max retries exceeded with url: /packages/f2/e9/5fc0435129c23c17551fcfadc82bd0d5482276213dfbc641f07b4420cb6d/tflite_runtime-2.14.0-cp311-cp311-manylinux_2_34_aarch64.whl (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate is not yet valid (_ssl.c:992)')))

I noticed the RPi5 system date and time is several days ahead of US Pacific PST. I'm in Singapore and the time difference is +15 hours so I determined my RPi5 is not setup correctly for location and timezone.

My fix was to set the localisation option in RPi5 OS terminal.

sudo raspi-config

Then select 5 Localisation Options Configure language and regional settings then L2 Timezone Configure time zone. I chose US as the geographic area and Pacific Ocean for timezone and then selected Finish using tab key then return/enter to leave the configuration menu.

Final step is reboot the board.

sudo reboot

After SSH connection to the board the command to install tflite-runtime python package completed as expected.

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.