diff --git a/cmake/paddlepaddle.cmake b/cmake/paddlepaddle.cmake index 7670444ed1e021376fa44491973bb748cf611ecf..5a164e93437e59e9b93ad6472755adffea8421ae 100644 --- a/cmake/paddlepaddle.cmake +++ b/cmake/paddlepaddle.cmake @@ -31,7 +31,7 @@ message( "WITH_GPU = ${WITH_GPU}") # Paddle Version should be one of: # latest: latest develop build # version number like 1.5.2 -SET(PADDLE_VERSION "1.7.2") +SET(PADDLE_VERSION "1.8.4") if (WITH_GPU) SET(PADDLE_LIB_VERSION "${PADDLE_VERSION}-gpu-cuda${CUDA_VERSION_MAJOR}-cudnn7-avx-mkl") diff --git a/python/paddle_serving_app/reader/image_reader.py b/python/paddle_serving_app/reader/image_reader.py index bccf6480f0c635c407fe51aa50c23dcce26825c1..38a1766433848c800ad40e1be7e79c2ac7989199 100644 --- a/python/paddle_serving_app/reader/image_reader.py +++ b/python/paddle_serving_app/reader/image_reader.py @@ -420,7 +420,7 @@ class RCNNPostprocess(object): for key in image_with_bbox: if key == "image": continue - if ".lod" in key: + if ".lod" in key or "im_shape" in key: continue fetch_name = key bbox_result = self._get_bbox_result(image_with_bbox, fetch_name,