Git Product home page Git Product logo

ml-kws-for-fpga's Introduction

ML-KWS-for-FPGA

嵌入式计算系统及SoC软硬件协同设计课程大作业。

Usage

  1. Download Google speech command dataset
  2. Put the dataset outside this project, specifically, at ../speech/
  3. git clone https://github.com/zYeoman/ML-KWS-for-FPGA
  4. CD in ML-KWS-for-FPGA and make and run kws
wget http://download.tensorflow.org/data/speech_commands_v0.01.tar.gz
tar xzvf speech_commands_v0.0.1.tar.gz speech
git clone https://github.com/zYeoman/ML-KWS-for-FPGA && cd ML-KWS-for-FPGA
make
# Run CNN model for the first 10 test.
./kws cnn 10
# Run CRNN model for all test
./kws crnn
# Run CNN_Q(Quantization CNN)
./kws cnn_q

Hardware

In Vivado HLS, use kws(uint32_t*, int32_t*) or kws_q or kws_crnn as top function, test.cpp as test source. In Vivado, Open xillinux blockdesign, and connect the IP core and Xillybus as shown belown.

Connect

Files

./bit           Bitstream
./Makefile      Makefile
./silence.wav   Testfile
./include       Header And Model Parameters
./src           Source

ml-kws-for-fpga's People

Contributors

zyeoman avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

ml-kws-for-fpga's Issues

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.