From 3b9d0f9be89c77c113a3f1231bb351ab3ff0bc0d Mon Sep 17 00:00:00 2001 From: GAO BIN Date: Sun, 17 Feb 2019 14:42:51 +0800 Subject: [PATCH] Update demo.py The image_names are not in order, so it can NOT reproduce the result as in Youtube video. --- dff_rfcn/demo.py | 1 + 1 file changed, 1 insertion(+) diff --git a/dff_rfcn/demo.py b/dff_rfcn/demo.py index 830344a7..2a343e4a 100644 --- a/dff_rfcn/demo.py +++ b/dff_rfcn/demo.py @@ -62,6 +62,7 @@ def main(): # load demo data image_names = glob.glob(cur_path + '/../demo/ILSVRC2015_val_00007010/*.JPEG') + image_names.sort() output_dir = cur_path + '/../demo/rfcn_dff/' if not os.path.exists(output_dir): os.makedirs(output_dir)