Comments (4)
I've the same issue and I also think it's problem with compatibility or ncnn
from ncnn-android-yolox.
Hey I found some kind of the solution that worked for me. Use this version of the ncnn library https://github.com/Tencent/ncnn/releases/tag/20210525 and convert model base on it. The first issue that state this problem is from April 2021 so maybe there is a bug or some kind of problems with libraries which are from April or later.
from ncnn-android-yolox.
Hey,recently I tried it.I also found that my model didn't seem to work.
The way I deal with it is first change the Line 344 in yolox.cpp with
ncnn::Mat in = ncnn::Mat::from_pixels_resize(rgb.data, ncnn::Mat::PIXEL_RGB2BGR, img_w, img_h, w, h);
Note that is PIXEL_RGB2BGR
and second delete the Line 355 with in_pad.substract_mean_normalize(mean_vals, norm_vals);
.
from ncnn-android-yolox.
thankyou very much, I know there is something that I need to change in yolox.cpp, but I don't know which one to make the code work, my guest around line 350-400, but still don't understand what I suppose to do, btw you are awesome
from ncnn-android-yolox.
Related Issues (20)
- as 在debug模式下 会自动断到这 然后重复循环, 放开后会直接程序崩溃
- ncnn-20210720-android-vulkan 编译出错 HOT 1
- 自己的数据集训练,屏幕出现很多检测框
- YOLOX sluggish on GPU
- 导入AS之后可能出现的错误
- Android SDK HOT 1
- 如何在rk3399运行 HOT 1
- 你好,修改网络结构之后还能继续用这个么? HOT 1
- 只显示视频没有目标检测 HOT 2
- attention:the version of opencv and ncnn HOT 1
- ninja: build stopped: subcommand failed.
- 训练自己数据集后,生成onnx文件,转ncnn部署到手机上没有检测出目标 HOT 2
- Still cannot run custom training model in this Project. HOT 5
- W/ncnn: AAssetManager_open yolox-nano.param failed HOT 1
- 如何调用PC外接的摄像头实现实时检测的?
- 在on_image_render函数下对图像rgb进行灰度化,结果会导致手机上闪退
- Hello
- Is this project support latest yolox?? HOT 15
- where is tnn code ? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ncnn-android-yolox.