Skip to content

Docker image for SnapdragonTM Neural Processing Engine SDK env

Notifications You must be signed in to change notification settings

tgz/docker-SNPE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

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 文件

About

Docker image for SnapdragonTM Neural Processing Engine SDK env

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published