GithubHelp home page GithubHelp logo

scott306lr / aaml_final Goto Github PK

View Code? Open in Web Editor NEW

This project forked from liuyy3364/cfu-playground

0.0 0.0 0.0 17.64 MB

Want a faster ML processor? Do it yourself! -- A framework for playing with custom opcodes to accelerate TensorFlow Lite for Microcontrollers (TFLM). . . . . . Online tutorial: https://google.github.io/CFU-Playground/ For reference docs, see the link below.

Home Page: http://cfu-playground.rtfd.io/

License: Apache License 2.0

Shell 0.33% C++ 1.93% Python 5.76% C 1.08% Scala 0.23% Verilog 90.03% Assembly 0.05% Makefile 0.19% CMake 0.01% Dockerfile 0.01% Jupyter Notebook 0.38%

aaml_final's Introduction

CFU Playground - AAML Final Project - Group 4

Setup Guide

1. Prepare a supported board (We use Nexys A7-100T) and install required toolchains. See Setup Guide for more details

2. Clone the CFU-Playground Repository from the github

git clone https://github.com/scott306lr/AAML_Final.git

3. Run the setup script

cd AAML_Final
./scripts/setup

4. Build Program and Start System

# Automized script for building the project.
# Equivalent to "make build && make load", while fixing multiple definition of a non-constant variable.

# Enter the project directory
cd proj/AAML_final_proj

# Building project with the default model
bash run.sh

# Building project with our custom model
bash run.sh -m "model_compression/final_0.875_qat_model.tflite"

# Verbose mode, for debugging
bash run.sh -v

After the build process is finished, press enter and type 'reboot' to reboot and start the system.

5. Run Golden Test

After the program started, type 11g to run test.

6. Run Evaluation Test

After the program started, press ctrl+c to leave litex-term, then run the following command:

python evaluation.py

Final Results

Latency: 2sec -> 0.75sec (x2.67 speed up)

aaml_final's People

Contributors

alanvgreen avatar tcal-x avatar cfu-playground-bot avatar danc86 avatar shvetankprakash avatar josephbushagour avatar piotrzierhoffer avatar robertszczepanski avatar scott306lr avatar marcmerlin avatar ajelinski avatar akioolin avatar liuyy3364 avatar kgugala avatar davidlattimore avatar acomodi avatar chuncheyang1130 avatar mithro avatar mkurc-ant avatar fkokosinski avatar proppy avatar kboronski-ant avatar mgielda avatar guztech avatar apium avatar chenjiaj109550158 avatar rachsug 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.