海思開發板——YOLOv3模型轉換(1)


1.下載轉換代碼

https://github.com/ChenYingpeng/darknet2caffe

按照要求安裝及配置

安裝pytorch0.4

pip install http://download.pytorch.org/whl/cu80/torch-0.4.0-cp27-cp27mu-linux_x86_64.whl

 

2.編譯caffe

make clean

make all

3.編譯為python可用

make pycaffe

4.模型轉換

python cfg/yolov3.cfg weights/yolov3.weights prototxt/yolov3.prototxt caffemodel/yolov3.caffemodel

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM