Open leiwen83 opened 3 years ago
V1.0.4 also has problem,, but it would meet error after several op test.
star:/data/cnn # ./mace_cc_benchmark
Benchmark Time(ns) Iterations Input(MB/s) GMACPS
--------------------------------------------------------------------------------------------------------------
MACE_BM_ADDN_2_1_128_128_32_float_CPU 1321442 720 3174.04 0.00
MACE_BM_ADDN_2_1_256_256_32_float_CPU 5026605 200 3337.68 0.00
MACE_BM_ADDN_2_1_256_256_3_float_CPU 571553 1660 2751.91 0.00
MACE_BM_ADDN_2_1_512_512_3_float_CPU 1639558 584 3837.29 0.00
MACE_BM_ADDN_4_1_128_128_3_float_CPU 385243 2486 2041.39 0.00
MACE_BM_BATCH_NORM_1_1024_7_7_float_CPU 333444 2684 601.91 0.15
MACE_BM_BATCH_NORM_1_128_256_256_float_CPU 17322935 62 1936.99 0.48
MACE_BM_BATCH_NORM_1_128_56_56_float_CPU 686025 1412 2340.49 0.59
....
....
MACE_BM_DEPTH_TO_SPACE_1_8_256_256_2_float_CPU 2763646 359 758.84 0.00
MACE_BM_DEPTH_TO_SPACE_1_9_512_512_3_float_CPU 12383405 79 762.08 0.00
F /data/Android/xiaomi/mace/mace/ops/dynamic_lstm.cc:172] Check failed: this->InputSize() >= max_input_num The first affine needs a bias input.
F /data/Android/xiaomi/mace/mace/ops/dynamic_lstm.cc:172] backtrace:
F /data/Android/xiaomi/mace/mace/ops/dynamic_lstm.cc:172] pc 0x5980e8e174
F /data/Android/xiaomi/mace/mace/ops/dynamic_lstm.cc:172] pc 0x5980e9163c
F /data/Android/xiaomi/mace/mace/ops/dynamic_lstm.cc:172] pc 0x5980e915e8
F /data/Android/xiaomi/mace/mace/ops/dynamic_lstm.cc:172] pc 0x5980e918c4
F /data/Android/xiaomi/mace/mace/ops/dynamic_lstm.cc:172] pc 0x5980e919b8
F /data/Android/xiaomi/mace/mace/ops/dynamic_lstm.cc:172] pc 0x5980dc9f6c
F /data/Android/xiaomi/mace/mace/ops/dynamic_lstm.cc:172] pc 0x5980e69008
F /data/Android/xiaomi/mace/mace/ops/dynamic_lstm.cc:172] pc 0x5980db4840
F /data/Android/xiaomi/mace/mace/ops/dynamic_lstm.cc:172] pc 0x5980d971c0
F /data/Android/xiaomi/mace/mace/ops/dynamic_lstm.cc:172] pc 0x5980d969a8
F /data/Android/xiaomi/mace/mace/ops/dynamic_lstm.cc:172] pc 0x5980d77924
F /data/Android/xiaomi/mace/mace/ops/dynamic_lstm.cc:172] pc 0x5980d830f4
F /data/Android/xiaomi/mace/mace/ops/dynamic_lstm.cc:172] pc 0x778369e058 __libc_init
Aborted
@leiwen83 Could you use the master branch? we now work on the master, thank you first
@leiwen83 Could you use the master branch? we now work on the master, thank you first
master branch cannot even run. The first comment is tested over master branch...
@leiwen83 Sorry for the late reply, please use bazel
command, for example:
python tools/bazel_adb_run.py --target="//test/ccbenchmark:mace_cc_benchmark" --run_target=True --target_abis=armeabi-v7a,arm64-v8a
Hi,
I test mace_cc_benchmark over Xiaomi11 ultra phone which is rooted. It is built with the command: bash tools/cmake/cmake-build-arm64-v8a.sh with android ndk:android-ndk-r21e
But it reported follow error when I try to run:
How to fix it?
Thx