Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

交叉编译 SeetaFace6Open arm64版本 ,然后在rk3399 上 运行 demo,cpu 占用率超过 200% #34

Open
HenryZhouHB opened this issue May 25, 2022 · 0 comments

Comments

@HenryZhouHB
Copy link

HenryZhouHB commented May 25, 2022

交叉编译 SeetaFace6Open arm64版本 ,然后在rk3399 上 运行 demo,cpu 占用率超过 200%
image

这是Tennis的编译脚本
[root@localhost craft]# more build.linux.aarch64.sh
#!/usr/bin/env bash

export BUILD_DIR=build.linux.aarch64
export BUILD_TYPE=Release
export PLATFORM_TARGET=aarch64

export PLATFORM=aarch64
export INSTALL_DIR=$(cd "$(dirname "$0")"; pwd)/../../build

HOME=$(cd dirname $0; pwd)

cd $HOME

mkdir "$BUILD_DIR"

cd "$BUILD_DIR"

cmake "$HOME/.."
-DCMAKE_BUILD_TYPE="$BUILD_TYPE"
-DCONFIGURATION="$BUILD_TYPE"
-DPLATFORM="$PLATFORM_TARGET"
-DCMAKE_INSTALL_PREFIX="$INSTALL_DIR"
-DTS_USE_OPENMP=ON
-DTS_USE_SIMD=ON
-DTS_ON_ARM=OFF
-DTS_USE_AVX=OFF
-DTS_USE_SSE=OFF
-DTS_USE_FMA=OFF
-DTS_USE_NEON=ON
-DTS_DYNAMIC_INSTRUCTION=ON
-DCMAKE_C_COMPILER="gcc"
-DCMAKE_CXX_COMPILER="g++"

make -j16

make install
[root@localhost craft]#

@HenryZhouHB HenryZhouHB changed the title 交叉编译 SeetaFace6Open ,然后在rk3399 上 运行 demo,cpu 占用率超过 200% 交叉编译 SeetaFace6Open arm64版本 ,然后在rk3399 上 运行 demo,cpu 占用率超过 200% May 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant