Code Monkey home page Code Monkey logo

docker-snpe's Introduction

Docker image For SNPE

Docker image for

SNPE Snapdragon Neural Processing Engine SDK

with caffe & adb

Usage

build

	docker build -t snpe .

Run

	docker run -it  --privileged -v ~/Git/snpe-1.13.0:/root/snpe -v /dev/bus/usb:/dev/bus/usb --name=snpe snpe

caffemodel 转换为 dlc

        # First time run
        # 将 clone 下来的 snpe 仓库挂载至 docker 镜像的 `/root/snpe`
        docker run -it -v ~/Git/snpe:/root/snpe --name=snpe_dev docker.zerozero.cn/snpe

        # 之后启动此 Docker Container 只需要:
        docker start -i snpe_dev

        # 上一步完成后,自动进入 Docker 的交互式环境,直接开始转换 caffemodel,生成的dlc默认在当前目录
        snpe-caffe-to-dlc -b xxx.caffemodel -c xxx.prototxt

benchmark

在 SNPE SDK 目录下,有 benchmarks 文件夹

用法:

    python snpe_bench.py -c bench_config.json -a -t le

bechmark 相关参数,可以参照该目录下的 json 文件

docker-snpe's People

Contributors

tgz avatar

Watchers

 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.