ysh329
ysh329
## 根据cpu_idx_str计算cpu_mask_str ```python def cpu_idx_str_to_mask(cpu_idx_str_raw): str_cpu_idx_list = cpu_idx_str_raw.split(",") str_cpu_idx_list = filter(lambda s: s != '', str_cpu_idx_list) int_cpu_idx_list = map(int, str_cpu_idx_list) cpu_mask_10 = 0 for cpu_idx in int_cpu_idx_list: cpu_mask_10 += 2...
taskset方式绑定cpu的方法并不通用,即不是所有安卓手机上都支持`taskset cpu_mask`方式。
835/armv8/CPU tf_v1: 104 tf_v2: 79 caffe_v1: 115 caffe_v2: 108 835/armv8/GPU tf_v1: 55 tf_v2: 36 caffe_v1: 56 caffe_v2: 46 ---- 855/armv8/cpu tf_v1: 18 tf_v2: 13 caffe_v1: 18 caffe_v2: 16 855/armv8/gpu tf_v1:...
## 2021年2月测试mindspore lite v1.1.0 mindspore lite的release页面不提供编译好的binary,因此需要从源码编译,后来在官网文档发现有编译好的。具体的依赖在官网有详细的说明和链接跳转:[https://www.mindspore.cn/tutorial/lite/zh-CN/master/use/build.html](https://www.mindspore.cn/tutorial/lite/zh-CN/master/use/build.html)。mindspore lite库还好说,但是converter依赖的东西就较多。之类简单罗列: ## 模型转换工具的编译安装 - libtool,git clone源码编译安装。前置安装需要help2man(apt install help2man),makeinfo(apt install texinfo), 然后执行libtool下的./bootstrap - android-ndk-20b,直接下载binary,环境变量更新 - gcc>7.3,默认就是,之前好像装过 - cmake>3.18.3,下载编译好的binary - m4:git clone源码编译安装,需要前置安装autopoint,然后执行bootstrap,会拉取依赖非常慢。完了后再执行./configure - libevent:下载stable源码安装,执行configure,autogen.sh - autoconf:下载latest源码,执行configure...
## 华为手机 GPU 性能 jxt:不用ROOT,华为手机系统设置一下电池模式就好 我:华为手机gpu确实100次不准,但是1000次就准了 jxt:也行就是比较耗时间 nihui: android10 huawei跑不了vulkan,需要app里跑
## android 模拟器 https://developer.android.google.cn/studio?hl=zh-cn#Requirements ## ```shell ./avdmanager ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. Please set the JAVA_HOME variable in your environment...
需要用到android-sdk开模拟器
你想测试什么框架呢,可以具体说说需求,哪些模型、精度等等
收到。目前短期内,是支持TNN,MNN,NCNN,TFLITE(目前在支持),且主要是安卓平台。arm linux短期内不在计划,不过我们长期来说,还是打算支持的。 目前,该项目代码用户较少,还主要是来过来看性能数据的多,由于各种原因,比分手机机型有限,我们这里尽可能提供高中低端的手机性能,尽量覆盖全SoC,比分高通的,华为的,联发科等等。但本身收集这些机器还是比较费劲,也有一定限制。
android编译报错: ```shell Could NOT find OpenMP_CXX (missing: OpenMP_CXX_FLAGS OpenMP_CXX_LIB_NAMES) ```