Closed jellyDL closed 6 years ago
solved. some phone without dsp, so can't find libcdsprpc.so. it runs successfuly on XiaoMi with SnapDragon 835
Yes, you are right. Fixed in c141657f01fc36b5e8474d60e2647b3153584740. Now MACE
can run on CPU/GPU without libcdsprpc.so
.
it works! thanks! Incidentally,could you tell me the version of Mace(libmace.zip)?
You can run benchmark and see the version from the log.
python tools/benchmark.py --output_dir=output --frameworks=MACE --runtimes=CPU --model_names=MobileNetV1 --target_abis=armeabi-v7a
when run the cmd above, it errors on MACE, NCNN and SNPE framework are able to run successfully
('## make_output_processor ', <function process_output at 0x1042a4848>) ('cmd :', "cd /data/local/tmp/aibench; ADSP_LIBRARY_PATH='.;/system/lib/rfsa/adsp;/system/vendor/lib/rfsa/adsp;/dsp'; LD_LIBRARY_PATH=. ./model_benchmark") ('frameworks :', ['MACE']) ('MACE', 'CPU', 'MobileNetV1') WARNING: linker: ./model_benchmark: unused DT entry: type 0xf arg 0xa6a CANNOT LINK EXECUTABLE: library "libcdsprpc.so" not found page record for 0xf769503c was not found (block_size=16)