在Ubuntu上可以正确加载PPYOLOE模型,在Android上点击app闪退。
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- android, cpp
- Domain
- computer-vision, mobile-dev
Research direction
Start with the README and the ncnn-android-ppyoloe project, then reproduce the crash using the model files in app/src/main/assets. Obtain the Android crash log and compare model loading with the Ubuntu and Windows runs. Done means identifying the Android-specific loading failure and documenting a verified fix or a precise missing requirement.
Written by the indexing model from the issue text.
Description
error log | 日志或报错信息 | ログ
我不太了解安卓开发,不知道怎么看报错信息。
context | 编译/运行环境 | バックグラウンド
Android
how to reproduce | 复现步骤 | 再現方法
大佬们好!我在ncnn(Ubuntu)上成功导出PPYOLOE算法,并成功预测了。但是在安卓上一加载模型就闪退,求帮忙看看!
PPYOLOE算法导出ncnn、并成功在Ubuntu和windows上预测,步骤请看
https://zhuanlan.zhihu.com/p/532518260
安卓项目源码 https://github.com/miemie2013/ncnn-android-ppyoloe
参考了 https://github.com/FeiGeChuanShu/ncnn-android-yolox 的实现。
下载好源码后把上述得到的模型文件ppyoloe_crn_s_300e_coco.param、ppyoloe_crn_s_300e_coco.bin、ppyoloe_crn_m_300e_coco.param、ppyoloe_crn_m_300e_coco.bin放在app/src/main/assets目录下。按照README编译出apk文件,安装,点击之后就闪退了。
more | 其他 | その他
通过注释掉部分代码,发现是因为ncnn加载模型就闪退。
- Dominant language
- C++
- Stars
- 23.8k
- Forks
- 4.5k
- Avg merge
- 2d 20h
- Merged PRs (30d)
- 37
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Tencent/ncnn
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
feature plan Openenhancement
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
Sensor initialization takes very long when `--initial-sim-time` is set to current UNIX timestamp Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
gazebosim/gz-sensors#662 · 1 comment ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
comp-datalake
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/ClickHouse#121222 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
LadybirdBrowser/ladybird#12123 ·