未验证 提交 f0077fe9 编写于 作者: hxcowboy's avatar hxcowboy 提交者: GitHub

Update pipeline_http_client.py

the second test_img_dir assignment is not necessary:
after it is defined,  it's not modified. We can use it anyway.
上级 63cd23ab
......@@ -36,5 +36,4 @@ for idx, img_file in enumerate(os.listdir(test_img_dir)):
r = requests.post(url=url, data=json.dumps(data))
print(r.json())
test_img_dir = "../../doc/imgs/"
print("==> total number of test imgs: ", len(os.listdir(test_img_dir)))
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册