Languages | Tools | OS and Frameworks |
---|---|---|
|
|
|
digital2slave / ncnn-android-yolov8-seg Goto Github PK
View Code? Open in Web Editor NEWa sample yolov8 object segment android project based on ncnn and opencv.
a sample yolov8 object segment android project based on ncnn and opencv.
Hi, I build the project successfully. I created the APK file. But when i try to run it , at a glance it stopped working. As I click on the App . it sudden appears and closed at the same time. Why it is not stabling.
Please guide me in this regard.
你好,我将自己训练的模型转换为ncnn格式后导入项目,在手机运行直接闪退,而使用项目Assets
目录中自带的则没问题,我使用的转换方法为Method 3
即ultralytics 8.0.129 add YOLOv8 Tencent NCNN export #3529 ultralytics/ultralytics#3529
加载Model相关的代码已同步修改,这方面没问题,我打log跟踪了一下,是在generate_proposals
方法中出现了问题,我将ultralytics assets
中的yolov8-seg.pt
按Method 3转换为ncnn
导入项目同样也不行,暂时没找到什么明显的错误原因,但我发现我的模型以及yolov8-seg.pt
按Method 3转换为ncnn
后的.param
与项目Assets
中的.param
有些不同,尾不是Reshape
而是Concat
,能否帮忙分析一下原因,不胜感激
Hi all,
I have application where user will take picture from camera and process it. So I'm using this repo its working fine for camera frames, I need help to process and segment the static images. Please provide any docs, code snippets.
Thank you
I have installed ncnn and ran the ncnn examples but while running the build on the yolov8seg.cpp, i get the following error.
[ 50%] Linking CXX executable ncnn-yolov8s-seg
/usr/bin/ld: cannot find -lncnn
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/ncnn-yolov8s-seg.dir/build.make:157: ncnn-yolov8s-seg] Error 1
make[1]: *** [CMakeFiles/Makefile2:95: CMakeFiles/ncnn-yolov8s-seg.dir/all] Error 2
make: *** [Makefile:103: all] Error 2
What could be the issue here?
测试NCNN模型时报错
terminate called after throwing an instance of 'cv::Exception' what(): OpenCV(4.2.0) ../modules/core/src/matrix_wrap.cpp:1659: error: (-215:Assertion failed) !fixedSize() in function 'release'
是因为OPENCV版本的问题吗?
我这里的输出维度是1840094,这个数据对么
你好大佬,我按照你发的https://github.com/Digital2Slave/ncnn-android-yolov8-seg/wiki/Convert-yolov8%E2%80%90seg-to-ncnn-model-step-by-step 转换了一个模型,就是部署上去闪退,找不到原因。
Thanks for your excellent work. Howerver When I run "./ncnn-yolov8s-seg /path/to/coco_sample.png, there is Segmentation fault (core dumped)".
How I modify modules.py in ultralytics==8.0.196, I did not find this file (modules.py) in nn folder in the last version?
In ultralytics==8.0.40 it's works well for me but in the new version it's a problem.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.