From e93c7b62dc17ccb96dea6e2e7ceabe84ba43d69e Mon Sep 17 00:00:00 2001 From: luotao1 Date: Fri, 14 Sep 2018 15:57:26 +0800 Subject: [PATCH] fix text_classification downlaod error --- paddle/fluid/inference/tests/api/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/fluid/inference/tests/api/CMakeLists.txt b/paddle/fluid/inference/tests/api/CMakeLists.txt index 7d86b4b4cae..deb593bb29d 100644 --- a/paddle/fluid/inference/tests/api/CMakeLists.txt +++ b/paddle/fluid/inference/tests/api/CMakeLists.txt @@ -53,5 +53,5 @@ set(TEXT_CLASSIFICATION_INSTALL_DIR "${INFERENCE_DEMO_INSTALL_DIR}/text_classifi download_model_and_data(${TEXT_CLASSIFICATION_INSTALL_DIR} "text-classification-Senta.tar.gz" "text_classification_data.txt.tar.gz") inference_analysis_test(test_analyzer_text_classification SRCS analyzer_text_classification_tester.cc EXTRA_DEPS ${INFERENCE_EXTRA_DEPS} - ARGS --infer_model=${TEXT_CLASSIFICATION_INSTALL_DIR}/text-classification-Senta + ARGS --infer_model=${TEXT_CLASSIFICATION_INSTALL_DIR}/model --infer_data=${TEXT_CLASSIFICATION_INSTALL_DIR}/data.txt) -- GitLab