diff --git a/core/predictor/common/CMakeLists.txt b/core/predictor/common/CMakeLists.txt index c8dc75758a3036e1cd8c9477bbd3d377da61cad2..7beb2317f2b6e84c1424b8ae84de7ea8851e92dc 100644 --- a/core/predictor/common/CMakeLists.txt +++ b/core/predictor/common/CMakeLists.txt @@ -1,3 +1,2 @@ FILE(GLOB common_srcs ${CMAKE_CURRENT_LIST_DIR}/constant.cpp) LIST(APPEND pdserving_srcs ${common_srcs}) - diff --git a/python/examples/criteo_ctr_with_cube/test_client.py b/python/examples/criteo_ctr_with_cube/test_client.py index fbe434559ebef5f3910696ccdf4b72e89efbc48d..b2a162c40bdec5dbf6e3a49ae45e881d9b96254d 100755 --- a/python/examples/criteo_ctr_with_cube/test_client.py +++ b/python/examples/criteo_ctr_with_cube/test_client.py @@ -28,11 +28,8 @@ batch = 1 buf_size = 100 dataset = criteo.CriteoDataset() dataset.setup(1000001) -test_filelists = [ - "{}/part-test".format(sys.argv[2]) -] -reader = dataset.infer_reader(test_filelists, batch, - buf_size) +test_filelists = ["{}/part-test".format(sys.argv[2])] +reader = dataset.infer_reader(test_filelists, batch, buf_size) label_list = [] prob_list = [] start = time.time()