Giter Club home page Giter Club logo

Comments (2)

shentanyue avatar shentanyue commented on June 2, 2024

您好,从报错信息来看,得不到有用的信息。
您可以使用x2paddle先保存成paddle的pd_model模型在cpu上运行看看,排除x2paddle的转换问题后,再使用paddle lite的opt工具将pdmodel转换为nb模型放在安卓环境运行。

转换方式的分辨率一般是与ONNX一致的,精度默认是fp32。 如果自己定义精度,可参考https://www.paddlepaddle.org.cn/lite/v2.12/demo_guides/android_app_demo.html ,使用fp16精度进行部署。

from paddle-lite.

littlecay avatar littlecay commented on June 2, 2024

可以使用x2paddle先保存成paddle的pd_model模型在cpu上运行 这步我之前验证了(用python),没有问题的。
paddle lite的opt工具将pdmodel转换为nb模型 这个就是用paddle官方C++代码,加载成功,调用就会崩溃,是在rk3588+麒麟系统上做的。
关于精度,我知道enable_fp16 设置为 ON,但是直接转化有个参数可以用INT8的精度,不知道这个是不是可以

from paddle-lite.

Related Issues (20)

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.