Giter VIP home page Giter VIP logo

apai23-lab09-end-to-end-cnn-deployment's Introduction

[APAI22-LAB09] End-to-end CNN deployment

1. Setup

Access to the remote server, and setup

  1. Open this web page: https://compute.eees.dei.unibo.it:8443/guacamole/ (works only from ALMA WIFI NETWORK!).
  2. Login with your credentials

Download the repo

$ cd <work_dir>
$ git clone https://github.com/EEESlab/APAI23-LAB09-end-to-end-CNN-deployment.git --recurse-submodules --shallow-submodules

Note: make sure to clone with --recurse-submodules !

Load modules

Load appropriate modules to be able to compile and run the code

Note: Always do this when opening a new terminal session

$ module load pulp-sdk
$ module load dory-conda

2. How to run the code

1. cd to dory directory

$ cd APAI23-LAB09-end-to-end-CNN-deployment/dory

2. Generate the network

$ python network_generate.py Quantlab <target> ../<network>/config.json --perf_layer

The target can be:

  • PULP.PULP_gvsoc - 8-core cluster execution
  • PULP.PULP_NE16 - NE16 execution

The network can be:

  • Network1 - network with a 3x3 convolution for the last layer

  • Network2 - network with a 5x5 convolution for the last layer

3. Build and run the code

$ make -C application clean all run CORE=8

apai23-lab09-end-to-end-cnn-deployment's People

Contributors

lorenzolamberti94 avatar lukamac avatar

Watchers

 avatar  avatar  avatar  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.