热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

googlenetandalexnetdoesnotworkinpaddlelite!

Hi,Iwanttotestthetimingofgooglenetandalexnetfromcaffe,butafterconv

Hi,

I want to test the timing of googlenet and alexnet from caffe, but after converting to paddle-lite and testing, it fails to execute. These are very basic architecture, i believe they should run in paddle-lite. Any help will be greatly appreciated.

  1. alexnet: https://github.com/BVLC/caffe/tree/master/models/bvlc_alexnet

  2. googlenet: https://github.com/BVLC/caffe/tree/master/models/bvlc_googlenet

This is how I tested: ex. alexnet

1
2
3
4
wget https://github.com/PaddlePaddle/Paddle-Lite/releases/download/v2.0.0/model_optimize_tool

chmod +x model_optimize_tool

x2paddle --framework=caffe --prototxt=alexnet.prototxt --weight=alexnet.caffemodel --save_dir=pd_model

./model_optimize_tool --model_dir=pd_model/inference_model/ --optimize_out_type=naive_buffer --optimize_out=paddle_lite_alexnet --valid_targets=arm

Testing source: https://github.com/PaddlePaddle/Paddle-Lite-Demo/tree/master/PaddleLite-armlinux-demo/image_classification_demo
Device: RaspberryPi3B+/4B
OS: armv7l, aarch64

Thanks.

该提问来源于开源项目:PaddlePaddle/Paddle-Lite

hi ,



is it solved yet?


   



推荐阅读
author-avatar
Jasonscw
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有