Coder Social home page Coder Social logo

Comments (7)

kejikeji6 avatar kejikeji6 commented on June 8, 2024

链接:https://pan.baidu.com/s/1uYe0r6VZRcn8HFnRM49LqQ?pwd=816f
提取码:816f
--来自百度网盘超级会员V4的分享
其中object_detection_demo.cc是把输入修改为三个之后的代码,我没有C++的相关基础,不清楚到底是哪一部分有问题,请指正。

from paddle-lite.

hong19860320 avatar hong19860320 commented on June 8, 2024

麻烦提供一下原始的 Paddle 模型

from paddle-lite.

kejikeji6 avatar kejikeji6 commented on June 8, 2024

链接:https://pan.baidu.com/s/1LsjU4PT0aXgxVy7tEYUYJw?pwd=xrck
提取码:xrck
--来自百度网盘超级会员V4的分享
paddle版本2.4.0

from paddle-lite.

hong19860320 avatar hong19860320 commented on June 8, 2024

建议使用最新的 PaddleLite 2.13rc 库,我跑了下,Paddle Lite 的结果和 Paddle 一致的哈~

from paddle-lite.

kejikeji6 avatar kejikeji6 commented on June 8, 2024

您好请问您的意思是我的模型本身没有问题吗?如果模型没有问题,是我修改后的object_detection.cc代码有问题对吗,我查找到类似问题的issue
#9006
是要像其中最后提到的那样自己修改opencv画框的代码吗,我是初学者并不太清楚希望您能给我点修改建议,感谢!

from paddle-lite.

hong19860320 avatar hong19860320 commented on June 8, 2024

您好请问您的意思是我的模型本身没有问题吗?如果模型没有问题,是我修改后的object_detection.cc代码有问题对吗,我查找到类似问题的issue #9006 是要像其中最后提到的那样自己修改opencv画框的代码吗,我是初学者并不太清楚希望您能给我点修改建议,感谢!

是的,模型和 Paddle Lite 2.13rc库是没有问题的,所以怀疑点是:1)你修改的object_detection.cc 代码;2)你所使用的 Paddle Lite 2.10rc 可能有点问题;3)模型没问题是指能跑通推理,Paddle Lite 和 Paddle 结果一致,并不能说明模型本身精度 OK。

from paddle-lite.

hong19860320 avatar hong19860320 commented on June 8, 2024

如果没有框,可以先通过 log 的方式把目标的坐标和类别打印出来,看看是否是正确的。
可以参考这个代码:https://github.com/hong19860320/PaddleLite-generic-demo/blob/55c8f7936e6e1c40231c5c9472c5251891a9ae01/object_detection_demo/shell/demo.cc#L499

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.