Code Monkey home page Code Monkey logo

cnn-using-hls's Introduction

CNN-using-HLS

Directory structure:

This package contains the following directories:

  • modules/ - directory used for the development and testing of individual HLS functions that are used for the CNN implementation
  • nnet_stream/ - directory containing the C++ source and testbench
  • py/ - directory containing the python code used to train the neural network

Generate Vivado HLS project:

Each directory contains gen_proj.tcl that can be used to setup te Vivado HLS environment.

To generate the project for the main CNN implemention follow the steps bellow:

  1. Clone the repo: git clone https://github.com/amiq-consulting/CNN-using-HLS.git
  2. Go to nnet_stream directory: CNN-using-HLS/nnet_stream/
  3. Generate the project: vivado_hls -f gen_proj.tcl

Software used:

OS: Ubuntu 18.04.03 LTS

Vivado HLS 2018.3 - Simulation results and Synthesis

Python libraries

  • numpy - version 1.15.1
  • tensorflow - version 1.9.0
  • sklearn - version 0.0
  • scipy - version 1.1.0

Blog post

https://www.amiq.com/consulting/2018/12/14/how-to-implement-a-convolutional-neural-network-using-high-level-synthesis/

License

The application is available for free under the Apache License 2 We choosed this type of license to allow ANYONE use the materials as they please.

cnn-using-hls's People

Contributors

amiq-consulting 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.