Coder Social home page Coder Social logo

Comments (15)

FeiGeChuanShu avatar FeiGeChuanShu commented on July 3, 2024 1

I have same issue as you @zzzfo , I use the android example from official YOLOX repository. I can open the app but when I push inference button, it force quit from app. I test this code with legacy weight it's working file. After update 0.1.0 the app is crash. If you want to take a look my code here link @FeiGeChuanShu

QQ截图20210830082839
change the index from 791 to 683

from ncnn-android-yolox.

zzzfo avatar zzzfo commented on July 3, 2024

I tested in ncnn, it can detect the object,but when i deployed it in your project,it can't detect,I was wondering if something wrong in you code......

from ncnn-android-yolox.

Peppachou avatar Peppachou commented on July 3, 2024

我在ncnn中测试过,它可以检测到对象,但是当我将它部署到您的项目中时,它无法检测到,我想知道您的代码是否有问题......

你现在可以实现 训练自己的数据,在android上进行目标检测吗?

from ncnn-android-yolox.

FeiGeChuanShu avatar FeiGeChuanShu commented on July 3, 2024

我在ncnn中测试过,它可以检测到对象,但是当我将它部署到您的项目中时,它无法检测到,我想知道您的代码是否有问题......

你现在可以实现 训练自己的数据,在android上进行目标检测吗?
可以参考这个 https://github.com/FeiGeChuanShu/ncnn-yolox-hand
如果还有问题,如果方便可以把模型发我帮你测试一下

from ncnn-android-yolox.

FeiGeChuanShu avatar FeiGeChuanShu commented on July 3, 2024

I tested in ncnn, it can detect the object,but when i deployed it in your project,it can't detect,I was wondering if something wrong in you code......

is there some error debug info? or refer this project
https://github.com/FeiGeChuanShu/ncnn-yolox-hand

from ncnn-android-yolox.

Peppachou avatar Peppachou commented on July 3, 2024

from ncnn-android-yolox.

FeiGeChuanShu avatar FeiGeChuanShu commented on July 3, 2024

你好 这两个工程我都看了,并且对比了。还是有一些问题,我将yolox训练的权重放到android的工程中,android程序可以运行,但是不显示检测框。模型是将训练好的权重文件.bin和.param文件发给你吗?

------------------ 原始邮件 ------------------ 发件人: "FeiGeChuanShu/ncnn-android-yolox" @.>; 发送时间: 2021年8月28日(星期六) 晚上11:38 @.>; 抄送: " @.@.>; 主题: Re: [FeiGeChuanShu/ncnn-android-yolox] Is this project support latest yolox?? (#8) 我在ncnn中测试过,它可以检测到对象,但是当我将它部署到您的项目中时,它无法检测到,我想知道您的代码是否有问题...... 你现在可以实现 训练自己的数据,在android上进行目标检测吗? 可以参考这个 https://github.com/FeiGeChuanShu/ncnn-yolox-hand, 如果还有问题,如果方便可以把模型发我帮你测试一下 — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

onnx模型即可

from ncnn-android-yolox.

Peppachou avatar Peppachou commented on July 3, 2024

from ncnn-android-yolox.

zzzfo avatar zzzfo commented on July 3, 2024

我在ncnn中测试过,它可以检测到对象,但是当我将它部署到您的项目中时,它无法检测到,我想知道您的代码是否有问题......

你现在可以实现 训练自己的数据,在android上进行目标检测吗?

你好 这两个工程我都看了,并且对比了。还是有一些问题,我将yolox训练的权重放到android的工程中,android程序可以运行,但是不显示检测框。模型是将训练好的权重文件.bin和.param文件发给你吗?

------------------ 原始邮件 ------------------ 发件人: "FeiGeChuanShu/ncnn-android-yolox" @.>; 发送时间: 2021年8月28日(星期六) 晚上11:38 @.>; 抄送: " @.@.>; 主题: Re: [FeiGeChuanShu/ncnn-android-yolox] Is this project support latest yolox?? (#8) 我在ncnn中测试过,它可以检测到对象,但是当我将它部署到您的项目中时,它无法检测到,我想知道您的代码是否有问题...... 你现在可以实现 训练自己的数据,在android上进行目标检测吗? 可以参考这个 https://github.com/FeiGeChuanShu/ncnn-yolox-hand, 如果还有问题,如果方便可以把模型发我帮你测试一下 — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

我的情况和你一样

from ncnn-android-yolox.

zzzfo avatar zzzfo commented on July 3, 2024

我在ncnn中测试过,它可以检测到对象,但是当我将它部署到您的项目中时,它无法检测到,我想知道您的代码是否有问题......

你现在可以实现 训练自己的数据,在android上进行目标检测吗?
可以参考这个 https://github.com/FeiGeChuanShu/ncnn-yolox-hand
如果还有问题,如果方便可以把模型发我帮你测试一下

我还是不能实现,我怎么发送模型给您啊?这个直接上传不了。。。。。
程序可以正常运行,就是检测不出来物体。。

from ncnn-android-yolox.

FeiGeChuanShu avatar FeiGeChuanShu commented on July 3, 2024

我在ncnn中测试过,它可以检测到对象,但是当我将它部署到您的项目中时,它无法检测到,我想知道您的代码是否有问题......

你现在可以实现 训练自己的数据,在android上进行目标检测吗?
可以参考这个 https://github.com/FeiGeChuanShu/ncnn-yolox-hand
如果还有问题,如果方便可以把模型发我帮你测试一下

我还是不能实现,我怎么发送模型给您啊?这个直接上传不了。。。。。
程序可以正常运行,就是检测不出来物体。。

[email protected]

from ncnn-android-yolox.

RTae avatar RTae commented on July 3, 2024

I have same issue as you @zzzfo , I use the android example from official YOLOX repository. I can open the app but when I push inference button, it force quit from app. I test this code with legacy weight it's working file. After update 0.1.0 the app is crash. If you want to take a look my code here link @FeiGeChuanShu

from ncnn-android-yolox.

zzzfo avatar zzzfo commented on July 3, 2024

感谢作者大大 @FeiGeChuanShu ,修改https://github.com/FeiGeChuanShu/ncnn-android-yolox/blob/main/app/src/main/jni/yolox.cpp#L344
ncnn::Mat in = ncnn::Mat::from_pixels_resize(rgb.data, ncnn::Mat::PIXEL_RGB2BGR, img_w, img_h, w, h);
注释掉L354即可

from ncnn-android-yolox.

RTae avatar RTae commented on July 3, 2024

I have same issue as you @zzzfo , I use the android example from official YOLOX repository. I can open the app but when I push inference button, it force quit from app. I test this code with legacy weight it's working file. After update 0.1.0 the app is crash. If you want to take a look my code here link @FeiGeChuanShu

QQ截图20210830082839
change the index from 791 to 683

Thank you @FeiGeChuanShu it's work. You save my day.

from ncnn-android-yolox.

gyin2010 avatar gyin2010 commented on July 3, 2024

感谢作者大大 @FeiGeChuanShu ,修改https://github.com/FeiGeChuanShu/ncnn-android-yolox/blob/main/app/src/main/jni/yolox.cpp#L344
ncnn::Mat in = ncnn::Mat::from_pixels_resize(rgb.data, ncnn::Mat::PIXEL_RGB2BGR, img_w, img_h, w, h);
注释掉L354即可

This save my ass!!! Thx aloooooot~

from ncnn-android-yolox.

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.