From a5159d84800c1d0a9206a9a5184b4505bdc5c69f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Gallus?= Date: Mon, 16 Dec 2019 06:29:03 +0100 Subject: [PATCH] Re-anble vgg and resnet101 models download (#21713) test=develop --- paddle/fluid/inference/tests/api/CMakeLists.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/paddle/fluid/inference/tests/api/CMakeLists.txt b/paddle/fluid/inference/tests/api/CMakeLists.txt index cbc3c2281d..c8074b7665 100644 --- a/paddle/fluid/inference/tests/api/CMakeLists.txt +++ b/paddle/fluid/inference/tests/api/CMakeLists.txt @@ -249,20 +249,20 @@ if(WITH_MKLDNN) # resnet101 int8 # TODO(grygielski) Enable after MKL-DNN 1.0 merge -# set(INT8_RESNET101_MODEL_DIR "${INT8_DATA_DIR}/resnet101") -# download_int8_data(${INT8_RESNET101_MODEL_DIR} "Res101_int8_model.tar.gz" ) + set(INT8_RESNET101_MODEL_DIR "${INT8_DATA_DIR}/resnet101") + download_int8_data(${INT8_RESNET101_MODEL_DIR} "Res101_int8_model.tar.gz" ) # inference_analysis_api_int8_test_run(test_analyzer_int8_resnet101 ${INT8_IMG_CLASS_TEST_APP} ${INT8_RESNET101_MODEL_DIR} ${IMAGENET_DATA_PATH}) # vgg16 int8 # TODO(grygielski) Enable after MKL-DNN 1.0 merge -# set(INT8_VGG16_MODEL_DIR "${INT8_DATA_DIR}/vgg16") -# download_int8_data(${INT8_VGG16_MODEL_DIR} "VGG16_int8_model.tar.gz" ) + set(INT8_VGG16_MODEL_DIR "${INT8_DATA_DIR}/vgg16") + download_int8_data(${INT8_VGG16_MODEL_DIR} "VGG16_int8_model.tar.gz" ) # inference_analysis_api_int8_test_run(test_analyzer_int8_vgg16 ${INT8_IMG_CLASS_TEST_APP} ${INT8_VGG16_MODEL_DIR} ${IMAGENET_DATA_PATH}) # vgg19 int8 # TODO(grygielski) Enable after MKL-DNN 1.0 merge -# set(INT8_VGG19_MODEL_DIR "${INT8_DATA_DIR}/vgg19") -# download_int8_data(${INT8_VGG19_MODEL_DIR} "VGG19_int8_model.tar.gz" ) + set(INT8_VGG19_MODEL_DIR "${INT8_DATA_DIR}/vgg19") + download_int8_data(${INT8_VGG19_MODEL_DIR} "VGG19_int8_model.tar.gz" ) # inference_analysis_api_int8_test_run(test_analyzer_int8_vgg19 ${INT8_IMG_CLASS_TEST_APP} ${INT8_VGG19_MODEL_DIR} ${IMAGENET_DATA_PATH}) # googlenet int8 -- GitLab