Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is this project support latest yolox?? #8

Closed
zzzfo opened this issue Aug 26, 2021 · 15 comments
Closed

Is this project support latest yolox?? #8

zzzfo opened this issue Aug 26, 2021 · 15 comments

Comments

@zzzfo
Copy link

zzzfo commented Aug 26, 2021

I try to use latest yolox(version 0.1.0) in this project, I modified the corresponding parameters, when I run, the program force quit

@zzzfo
Copy link
Author

zzzfo commented Aug 28, 2021

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......

@Peppachou
Copy link

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

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

@FeiGeChuanShu
Copy link
Owner

FeiGeChuanShu commented Aug 28, 2021

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

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

@FeiGeChuanShu
Copy link
Owner

FeiGeChuanShu commented Aug 28, 2021

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

@Peppachou
Copy link

Peppachou commented Aug 28, 2021 via email

@FeiGeChuanShu
Copy link
Owner

你好 这两个工程我都看了,并且对比了。还是有一些问题,我将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模型即可

@Peppachou
Copy link

Peppachou commented Aug 28, 2021 via email

@zzzfo
Copy link
Author

zzzfo commented Aug 29, 2021

我在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.

我的情况和你一样

@zzzfo
Copy link
Author

zzzfo commented Aug 29, 2021

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

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

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

@FeiGeChuanShu
Copy link
Owner

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

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

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

774074168@qq.com

@RTae
Copy link

RTae commented Aug 29, 2021

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

@FeiGeChuanShu
Copy link
Owner

FeiGeChuanShu commented Aug 30, 2021

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

@zzzfo
Copy link
Author

zzzfo commented Aug 30, 2021

感谢作者大大 @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即可

@zzzfo zzzfo closed this as completed Aug 30, 2021
@RTae
Copy link

RTae commented Aug 30, 2021

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.

@gyin2010
Copy link

gyin2010 commented Sep 8, 2021

感谢作者大大 @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~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants