Giter Club home page Giter Club logo

nnie_mapper's Introduction

nnie_mapper

海思hi3516dv300 nnie_mapper 工具 for ubuntu18.04

  1. 通过 darknet-yolov3训练自己的数据集生成 ./darknet detector train cfg/voc.data cfg/yolov3-voc.cfg darknet53.conv.74 yolov3-voc.cfg yolov3-voc.weights

  2. 通过 darknet2caffe 将 yolov3-voc.weights 转换为caffemodel YOYO=yolov3_behavior export PYTHONPATH="/home/ubuntu/caffe/models/twmht_caffe/distribute/python:$PYTHONPATH" export LD_LIBRARY_PATH="/home/ubuntu/caffe/models/twmht_caffe/distribute/lib:$LD_LIBRARY_PATH" python darknet2caffe/darknet2caffe.py ./data/detection/yolov3_behavior/yolov3-voc.cfg ./data/detection/yolov3_behavior/yolov3-voc.weights ./data/detection/yolov3_behavior/model/yolov3-voc.prototxt ./data/detection/yolov3_behavior/model/yolov3-voc.caffemodel

python ../data/detection/yolov3/cfg/yolov3-voc.cfg ../data/detection/yolov3/weights/yolov3-voc.weights ../data/caffemodel/yolov3-voc.prototxt ../data/caffemodel/yolov3-voc.caffemodel

yolov3.prototxt 
yolov3.caffemodel
  1. 通过 nnie_mapper_12 转换为 wk

nnie_mapper_12 yolov3_inst.cfg

nnie_mapper's People

Contributors

rinetd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

nnie_mapper's Issues

run nnie mapper yolov3.cfg

V100R001C003B0031805151500142770
begin net parsing....
end net parsing
begin prev optimizing....
Segmentation fault (core dumped)
(py27) lab@lab-pc:~/soft/HiSVP_PC_V1.1.0.7/tool/nnie1.1/linux/HiSVP_nnie_mapper_V1.1.0.7$ ./nnie_mapper yolov3-ship-2wk.cfg
V100R001C003B0031805151500142770
begin net parsing....
end net parsing
begin prev optimizing....
end prev optimizing....
begin net quantalizing....


ERROR: file: _inputEdges line: 206
Number of edges expected should match the number of input names.


ERROR: file: setUpDataDelta line: 779
ERROR: RUN FAILURE in line 779. Return = 524309


ERROR: file: forward line: 972
ERROR: RUN FAILURE in line 972. Return = 524309


ERROR: file: inferenceForward line: 1068
ERROR: RUN FAILURE in line 1068. Return = 524309


ERROR: file: compile line: 614
ERROR: RUN FAILURE in line 614. Return = 524309


ERROR: file: iFEPCompile line: 114
ERROR: RUN FAILURE in line 114. Return = 524309


ERROR: file: main line: 120
ERROR: RUN FAILURE in line 120. Return = 524309

(py27) lab@lab-pc:~/soft/HiSVP_PC_V1.1.0.7/tool/nnie1.1/linux/HiSVP_nnie_mapper_V1.1.0.7$ ./nnie_mapper yolov3-ship-2wk-d2c2.cfg.cfg
V100R001C003B0031805151500142770


ERROR: file: main line: 44
real path error, [yolov3-ship-2wk-d2c2.cfg.cfg]!

(py27) lab@lab-pc:~/soft/HiSVP_PC_V1.1.0.7/tool/nnie1.1/linux/HiSVP_nnie_mapper_V1.1.0.7$ ./nnie_mapper yolov3-ship-2wk-d2c2.cfg
V100R001C003B0031805151500142770
begin net parsing....


ERROR: file: parseInputDim line: 424
input shape size is not equal to input name size!


ERROR: file: parseInputParamOldVersion line: 331
ERROR: RUN FAILURE in line 331. Return = 262148


ERROR: file: parseModel line: 11280
ERROR: RUN FAILURE in line 11280. Return = 262148


ERROR: file: compile line: 512
ERROR: RUN FAILURE in line 512. Return = 262148


ERROR: file: iFEPCompile line: 114
ERROR: RUN FAILURE in line 114. Return = 262148


ERROR: file: main line: 120
ERROR: RUN FAILURE in line 120. Return = 262148

(py27) lab@lab-pc:~/soft/HiSVP_PC_V1.1.0.7/tool/nnie1.1/linux/HiSVP_nnie_mapper_V1.1.0.7$ ./nnie_mapper yolov3-ship-2wk-d2c2.cfg
V100R001C003B0031805151500142770
begin net parsing....
end net parsing
begin prev optimizing....
end prev optimizing....
begin net quantalizing....


ERROR: file: _inputEdges line: 206
Number of edges expected should match the number of input names.


ERROR: file: setUpDataDelta line: 779
ERROR: RUN FAILURE in line 779. Return = 524309


ERROR: file: forward line: 972
ERROR: RUN FAILURE in line 972. Return = 524309


ERROR: file: inferenceForward line: 1068
ERROR: RUN FAILURE in line 1068. Return = 524309


ERROR: file: compile line: 614
ERROR: RUN FAILURE in line 614. Return = 524309


ERROR: file: iFEPCompile line: 114
ERROR: RUN FAILURE in line 114. Return = 524309


ERROR: file: main line: 120
ERROR: RUN FAILURE in line 120. Return = 524309

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.