作者:Jasonscw | 来源:互联网 | 2023-08-21 11:15
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.
- alexnet: https://github.com/BVLC/caffe/tree/master/models/bvlc_alexnet
- 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?