Update demo.py
Browse files
demo.py
CHANGED
@@ -85,8 +85,8 @@ def main():
|
|
85 |
|
86 |
# Define the directories containing images and corresponding label files.
|
87 |
global image_files
|
88 |
-
images_dir = "./test_data/images/
|
89 |
-
labels_dir = "./test_data/labels/
|
90 |
image_files = [os.path.join(images_dir, f) for f in sorted(os.listdir(images_dir)) if f.lower().endswith('.png')]
|
91 |
random.shuffle(image_files)
|
92 |
|
|
|
85 |
|
86 |
# Define the directories containing images and corresponding label files.
|
87 |
global image_files
|
88 |
+
images_dir = "./test_data/images/VID"
|
89 |
+
labels_dir = "./test_data/labels/VID/"
|
90 |
image_files = [os.path.join(images_dir, f) for f in sorted(os.listdir(images_dir)) if f.lower().endswith('.png')]
|
91 |
random.shuffle(image_files)
|
92 |
|