pqpo / SmartCropper

🔥 A library for cropping image in a smart way that can identify the border and correct the cropped image. 智能图片裁剪框架。自动识别边框,手动调节选区,使用透视变换裁剪并矫正选区;适用于身份证,名片,文档等照片的裁剪。

Home Page:https://pqpo.me/2017/09/11/opencv-border-recognition/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tflite移动端推理速度比pc端测试的速度慢了很多

ws-lin opened this issue · comments

我在pc端测试了ckpt跟pb模型的推理时间只要20多ms,转量化后的tflite在移动端却需要200多ms,请问这是为什么 ,移动端慢了那么多

@ws-lin : 你这个tflite的文件是怎么生成的?我训练出来的模型是pb文件,然后我调用工程里面的'freeze_model.py'把pb文件转换为tflite文件,转换一只未成功,报错‘Unsupported op...’