Open zhaoyk1986 opened 1 week ago
你咋多次运行的?来个最小复现代码
这个是调用的cpp 我是在app写了个按钮,按一次跑一次。
[Uploading CWrinkleDet.zip…]()
CWrinkleDet * foreheadDet = new CWrinkleDet();
//
string param_path = "/storage/emulated/0/Android/data/com.example.hairdetect/files/model/foreHead.param";
string bin_path = "/storage/emulated/0/Android/data/com.example.hairdetect/files/model/foreHead.bin";
foreheadDet->load(param_path, bin_path, false);
foreheadDet->detect(foreHeadImg, 2048, 2048, segMap);
delete foreheadDet;
foreheadDet = NULL;
运行环境
Android Studio : Koala Feature Drop | 2024.1.2 ndk : 23.1.7779620 ncnn版本 : ncnn-20220721-android-shared ncnn-20230223-android-shared ncnn-20240820-android-shared 3个版本都试过。
model | 模型 | モデル
问题: 安卓,多次运行deeplabv3 分割模型,结果不一致。