Skip to content

Commit

Permalink
[Bug Fix] Update the errors left by the last pr (PaddlePaddle#975)
Browse files Browse the repository at this point in the history
更新上一个pr中遗漏的bug
  • Loading branch information
Zheng-Bicheng authored Dec 27, 2022
1 parent 22d91a7 commit 6078bd9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions cmake/rknpu2.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@ download_and_decompress(${RKNPU2_URL} ${CMAKE_CURRENT_BINARY_DIR}/${RKNPU2_FILE}
# set path
set(RKNPU_RUNTIME_PATH ${THIRD_PARTY_PATH}/install/rknpu2_runtime)

#if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
#else ()
# message(FATAL_ERROR "[rknpu2.cmake] Only support build rknpu2 in Linux")
#endif ()


if (EXISTS ${RKNPU_RUNTIME_PATH})
set(RKNN_RT_LIB ${RKNPU_RUNTIME_PATH}/${RKNN2_TARGET_SOC}/lib/librknnrt.so)
include_directories(${RKNPU_RUNTIME_PATH}/${RKNN2_TARGET_SOC}/include)
Expand Down
2 changes: 1 addition & 1 deletion examples/vision/faceid/adaface/cpp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
- 1. 软硬件环境满足要求,参考[FastDeploy环境要求](../../../../../docs/cn/build_and_install/download_prebuilt_libraries.md)
- 2. 根据开发环境,下载预编译部署库和samples代码,参考[FastDeploy预编译库](../../../../../docs/cn/build_and_install/download_prebuilt_libraries.md)

以Linux上CPU推理为例,在本目录执行如下命令即可完成编译测试
以Linux上CPU推理为例,在本目录执行如下命令即可完成编译测试,支持此模型需保证FastDeploy版本0.7.0以上(x.x.x>=0.7.0)

```bash
# “如果预编译库不包含本模型,请从最新代码编译SDK”
Expand Down

0 comments on commit 6078bd9

Please sign in to comment.