#!/usr/bin/env sh
./bm_builder.bin --target=bm1682 --name=yolov3 --caffemodel=input.caffemodel --modified_proto=input.prototxt --shape=1,3,384,352 --out_proto=out.proto --out_model=out.bmodel --enable-layer-group=yes
./bm_builder.bin -t bm1682 -n yolov3 -c input.caffemodel -m input.prototxt -s 1,3,352,584 -o out.bmodel
USAGE: | bm_builder.bin [options] |
---|---|
OPTIONS: | |
-bmnet_proto= | - Specify bmnet prototxt |
-caffemodel= | - Specify caffe model |
-dump-all-neuron | - |
-dump-layer-group-info= | - 指定log路径 |
-enable-cpu-softmax | - |
=yes | - Enable |
=no | - Disable |
-enable-dequantized | - |
=yes | - Enable |
=no | - Disable |
-enable-layer-group | - |
=yes | - Enable |
=no | - Disable |
-enable-less-loss-fc | - enable less-loss FC |
-enable-profile | - enable profile |
-enable-weight-optimize | - |
=yes | - Enable |
=no | - Disable |
-fc-left-shift= | - FC left-shift for partial sum |
-force-less-loss-fc | - force less-loss FC |
-help | - Display available options (-help-hidden for more) |
-ignore-bank-conflict | - |
-ignore-train-layer | - ignore layer with phase param set as TRAIN |
-in_ctable= | - Specify input ctable |
-layer-group-fix | - fix layer group for more pass |
-layer-group-sese | - use Single-Entry-Single-Exit tiling mode |
-layer-group-with-tsm= | - Specify TSM Size in KB |
-modified_proto= | - Specify deploy prototxt |
-name= | - Specify net name |
-out_cmdbuf= | - Specify output cmdbuf |
-out_ctable= | - Specify output ctable |
-out_model= | - Specify output model |
-out_proto= | - Specify output proto |
-plugin= | - Specify plugin |
-quantized-onnx-model= | - the path for the quantized-onnx-model |
-shape=<N,C,H,W> | - Specify input shape |
-target | - Specify your target |
=bm1680 | - BM1680 |
=bm1682 | - BM1682 |
=bm1880 | - BM1880 |
=bm1882 | - BM1882 |
-version | - 显示版本 |
-weight_bin= | - 指定权重二进制本金 |