diff --git a/test/cpp/inference/api/full_pascalvoc_test_preprocess.py b/test/cpp/inference/api/full_pascalvoc_test_preprocess.py index afe9eedc9e258491a955cdf6e97c2827677c83f7..2fafd9b095bfc04f2cc23d0b11da512533043577 100644 --- a/test/cpp/inference/api/full_pascalvoc_test_preprocess.py +++ b/test/cpp/inference/api/full_pascalvoc_test_preprocess.py @@ -47,7 +47,7 @@ BIN_FULLSIZE = 5348678856 def preprocess(img): img_width, img_height = img.size - img = img.resize((RESIZE_W, RESIZE_H), Image.ANTIALIAS) + img = img.resize((RESIZE_W, RESIZE_H), Image.LANCZOS) img = np.array(img) # HWC to CHW if len(img.shape) == 3: