From cdc4df3cdf361c7c015230008d956d1693b9c827 Mon Sep 17 00:00:00 2001 From: MRXLT Date: Wed, 15 Jan 2020 12:44:57 +0000 Subject: [PATCH] fix bug --- python/examples/imdb/test_client_multithread.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/examples/imdb/test_client_multithread.py b/python/examples/imdb/test_client_multithread.py index 934164a9..c5122c31 100644 --- a/python/examples/imdb/test_client_multithread.py +++ b/python/examples/imdb/test_client_multithread.py @@ -62,5 +62,5 @@ def predict_multi_thread(p_num): if __name__ == '__main__': conf_file = sys.argv[1] data_file = sys.argv[2] - p_num = sys.argv[3] + p_num = int(sys.argv[3]) predict_multi_thread(p_num) -- GitLab