From 62d4a74052cffe6c9f9f51606c4e271132b4f632 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Tue, 30 Jul 2019 15:15:23 +0200 Subject: [PATCH] updates --- utils/datasets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/datasets.py b/utils/datasets.py index b147d25d..9ec63800 100755 --- a/utils/datasets.py +++ b/utils/datasets.py @@ -42,7 +42,7 @@ class LoadImages: # for inference def __init__(self, path, img_size=416): files = [] if os.path.isdir(path): - files = sorted(glob.glob('%s/*.*' % path)) + files = sorted(glob.glob(os.path.join(path, '*.*'))) elif os.path.isfile(path): files = [path]