提交 f529eabf 编写于 作者: R risemeup1 提交者: GitHub

Revert "delete some dependencies (#54214)"

This reverts commit 2db64d08.
上级 455a6735
......@@ -127,6 +127,7 @@ if(WITH_TESTING AND WITH_INFERENCE_API_TEST)
EXTRA_DEPS
paddle_inference_shared
python
pybind
ARGS
--infer_model=${install_dir}/model
--infer_data=${install_dir}/data.txt
......@@ -141,6 +142,7 @@ if(WITH_TESTING AND WITH_INFERENCE_API_TEST)
EXTRA_DEPS
paddle_inference_shared
python
pybind
ARGS
--infer_model=${install_dir}/model
--infer_data=${install_dir}/data.txt
......@@ -463,6 +465,7 @@ if(WITH_TESTING AND WITH_INFERENCE_API_TEST)
EXTRA_DEPS
paddle_inference_shared
python
pybind
ARGS
--infer_model=${ERNIE_INSTALL_DIR}/model
--infer_data=${ERNIE_INSTALL_DIR}/data.txt
......@@ -509,6 +512,7 @@ if(WITH_TESTING AND WITH_INFERENCE_API_TEST)
EXTRA_DEPS
paddle_inference_shared
python
pybind
ARGS
--infer_model=${TRANSFORMER_INSTALL_DIR}/model
--infer_data=${TRANSFORMER_INSTALL_DIR}/data.txt
......@@ -521,6 +525,7 @@ if(WITH_TESTING AND WITH_INFERENCE_API_TEST)
EXTRA_DEPS
paddle_inference_shared
python
pybind
ARGS
--infer_model=${TRANSFORMER_INSTALL_DIR}/model
--infer_data=${TRANSFORMER_INSTALL_DIR}/data.txt
......@@ -576,6 +581,7 @@ if(WITH_TESTING AND WITH_INFERENCE_API_TEST)
EXTRA_DEPS
paddle_inference_shared
python
pybind
ARGS
--infer_model=${DENSEBOX_INSTALL_DIR}/model
--infer_data=${DENSEBOX_INSTALL_DIR}/detect_input_50.txt
......@@ -1172,6 +1178,7 @@ if(WITH_TESTING AND WITH_INFERENCE_API_TEST)
EXTRA_DEPS
paddle_inference_shared
python
pybind
ARGS
--infer_model=${LITE_MODEL_INSTALL_DIR})
inference_analysis_test(
......@@ -1181,6 +1188,7 @@ if(WITH_TESTING AND WITH_INFERENCE_API_TEST)
EXTRA_DEPS
paddle_inference_shared
python
pybind
ARGS
--infer_model=${RESNET50_MODEL_DIR})
......@@ -1206,6 +1214,7 @@ if(WITH_TESTING AND WITH_INFERENCE_API_TEST)
EXTRA_DEPS
${INFERENCE_C_EXTRA_DEPS}
python
pybind
ARGS
--infer_model=${MOBILENET_INSTALL_DIR}/model)
if(WIN32)
......@@ -1239,6 +1248,7 @@ if(WITH_TESTING AND WITH_INFERENCE_API_TEST)
EXTRA_DEPS
${INFERENCE_C_EXTRA_DEPS}
python
pybind
ARGS
--infer_model=${MOBILENET_INSTALL_DIR}/model)
if(WIN32)
......@@ -1323,6 +1333,7 @@ if(WITH_TESTING AND WITH_INFERENCE_API_TEST)
EXTRA_DEPS
${INFERENCE_C_EXTRA_DEPS}
python
pybind
ARGS
--infer_model=${CHINESE_NER_INSTALL_DIR}/model)
if(WIN32)
......@@ -1532,6 +1543,7 @@ if(WITH_TESTING AND WITH_INFERENCE_API_TEST)
analysis_predictor
benchmark
${inference_deps}
pybind
ARGS
--dirname=${WORD2VEC_MODEL_DIR})
endif()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册