From f5a3a28c50b6fa34898f49d668ba98ba190aad5c Mon Sep 17 00:00:00 2001 From: MRXLT Date: Mon, 30 Mar 2020 10:26:13 +0800 Subject: [PATCH] fix client setup.py --- python/examples/imagenet/image_http_client.py | 1 - python/setup.py.client.in | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/python/examples/imagenet/image_http_client.py b/python/examples/imagenet/image_http_client.py index c567b900..45b0bc1e 100644 --- a/python/examples/imagenet/image_http_client.py +++ b/python/examples/imagenet/image_http_client.py @@ -39,7 +39,6 @@ def batch_predict(image_path, server): if __name__ == "__main__": server = "http://127.0.0.1:9393/image/prediction" - #image_path = "./data/n01440764_10026.JPEG" image_list = os.listdir("./image_data/n01440764/") start = time.time() for img in image_list: diff --git a/python/setup.py.client.in b/python/setup.py.client.in index 65649c50..381fb2a8 100644 --- a/python/setup.py.client.in +++ b/python/setup.py.client.in @@ -18,6 +18,7 @@ from __future__ import print_function import platform import os +import sys from setuptools import setup, Distribution, Extension from setuptools import find_packages -- GitLab