提交 52ef0ee5 编写于 作者: W wuzewu

Merge branch 'release/v0.5.0' into release/v0.6.0

......@@ -295,7 +295,7 @@ class Predictor:
def run(deploy_conf, imgs_dir, support_extensions=".jpg|.jpeg"):
# 1. scan and get all images with valid extensions in directory imgs_dir
imgs = get_images_from_dir(imgs_dir)
imgs = get_images_from_dir(imgs_dir, support_extensions)
if len(imgs) == 0:
print("No Image (with extensions : %s) found in [%s]" %
(support_extensions, imgs_dir))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册