diff --git a/app.py b/app.py index 6fddd7b168830452856ad70ed1a11fab3df88388..b55cedf57929e6573df86f50df29b4b585e89277 100644 --- a/app.py +++ b/app.py @@ -130,7 +130,7 @@ class App: Dict[int, List[str]]: Dictionary of cls_id -> list of images paths. """ - example_flat_list = glob.glob("demo_data/train/**/*.jpeg") + example_flat_list = glob.glob("demo_data/demo/**/*.jpeg") example_lists: Dict[int, List[str]] = defaultdict(list) for path in example_flat_list: diff --git a/demo_data/train/0/11573_left.jpeg b/demo_data/demo/0/11573_left.jpeg similarity index 100% rename from demo_data/train/0/11573_left.jpeg rename to demo_data/demo/0/11573_left.jpeg diff --git a/demo_data/train/0/23654_left.jpeg b/demo_data/demo/0/23654_left.jpeg similarity index 100% rename from demo_data/train/0/23654_left.jpeg rename to demo_data/demo/0/23654_left.jpeg diff --git a/demo_data/train/0/24009_left.jpeg b/demo_data/demo/0/24009_left.jpeg similarity index 100% rename from demo_data/train/0/24009_left.jpeg rename to demo_data/demo/0/24009_left.jpeg diff --git a/demo_data/train/0/24879_left.jpeg b/demo_data/demo/0/24879_left.jpeg similarity index 100% rename from demo_data/train/0/24879_left.jpeg rename to demo_data/demo/0/24879_left.jpeg diff --git a/demo_data/train/0/25149_right.jpeg b/demo_data/demo/0/25149_right.jpeg similarity index 100% rename from demo_data/train/0/25149_right.jpeg rename to demo_data/demo/0/25149_right.jpeg diff --git a/demo_data/train/0/28148_left.jpeg b/demo_data/demo/0/28148_left.jpeg similarity index 100% rename from demo_data/train/0/28148_left.jpeg rename to demo_data/demo/0/28148_left.jpeg diff --git a/demo_data/train/0/2961_right.jpeg b/demo_data/demo/0/2961_right.jpeg similarity index 100% rename from demo_data/train/0/2961_right.jpeg rename to demo_data/demo/0/2961_right.jpeg diff --git a/demo_data/train/0/30682_right.jpeg b/demo_data/demo/0/30682_right.jpeg similarity index 100% rename from demo_data/train/0/30682_right.jpeg rename to demo_data/demo/0/30682_right.jpeg diff --git a/demo_data/train/0/6420_left.jpeg b/demo_data/demo/0/6420_left.jpeg similarity index 100% rename from demo_data/train/0/6420_left.jpeg rename to demo_data/demo/0/6420_left.jpeg diff --git a/demo_data/train/0/8594_right.jpeg b/demo_data/demo/0/8594_right.jpeg similarity index 100% rename from demo_data/train/0/8594_right.jpeg rename to demo_data/demo/0/8594_right.jpeg diff --git a/demo_data/train/1/17629_left.jpeg b/demo_data/demo/1/17629_left.jpeg similarity index 100% rename from demo_data/train/1/17629_left.jpeg rename to demo_data/demo/1/17629_left.jpeg diff --git a/demo_data/train/1/25154_right.jpeg b/demo_data/demo/1/25154_right.jpeg similarity index 100% rename from demo_data/train/1/25154_right.jpeg rename to demo_data/demo/1/25154_right.jpeg diff --git a/demo_data/train/1/25680_right.jpeg b/demo_data/demo/1/25680_right.jpeg similarity index 100% rename from demo_data/train/1/25680_right.jpeg rename to demo_data/demo/1/25680_right.jpeg diff --git a/demo_data/train/1/30124_right.jpeg b/demo_data/demo/1/30124_right.jpeg similarity index 100% rename from demo_data/train/1/30124_right.jpeg rename to demo_data/demo/1/30124_right.jpeg diff --git a/demo_data/train/1/31010_right.jpeg b/demo_data/demo/1/31010_right.jpeg similarity index 100% rename from demo_data/train/1/31010_right.jpeg rename to demo_data/demo/1/31010_right.jpeg diff --git a/demo_data/train/1/3782_left.jpeg b/demo_data/demo/1/3782_left.jpeg similarity index 100% rename from demo_data/train/1/3782_left.jpeg rename to demo_data/demo/1/3782_left.jpeg diff --git a/demo_data/train/1/38114_right.jpeg b/demo_data/demo/1/38114_right.jpeg similarity index 100% rename from demo_data/train/1/38114_right.jpeg rename to demo_data/demo/1/38114_right.jpeg diff --git a/demo_data/train/1/40316_right.jpeg b/demo_data/demo/1/40316_right.jpeg similarity index 100% rename from demo_data/train/1/40316_right.jpeg rename to demo_data/demo/1/40316_right.jpeg diff --git a/demo_data/train/1/41813_right.jpeg b/demo_data/demo/1/41813_right.jpeg similarity index 100% rename from demo_data/train/1/41813_right.jpeg rename to demo_data/demo/1/41813_right.jpeg diff --git a/demo_data/train/1/42690_left.jpeg b/demo_data/demo/1/42690_left.jpeg similarity index 100% rename from demo_data/train/1/42690_left.jpeg rename to demo_data/demo/1/42690_left.jpeg diff --git a/demo_data/train/2/12003_right.jpeg b/demo_data/demo/2/12003_right.jpeg similarity index 100% rename from demo_data/train/2/12003_right.jpeg rename to demo_data/demo/2/12003_right.jpeg diff --git a/demo_data/train/2/1407_right.jpeg b/demo_data/demo/2/1407_right.jpeg similarity index 100% rename from demo_data/train/2/1407_right.jpeg rename to demo_data/demo/2/1407_right.jpeg diff --git a/demo_data/train/2/21188_right.jpeg b/demo_data/demo/2/21188_right.jpeg similarity index 100% rename from demo_data/train/2/21188_right.jpeg rename to demo_data/demo/2/21188_right.jpeg diff --git a/demo_data/train/2/25945_left.jpeg b/demo_data/demo/2/25945_left.jpeg similarity index 100% rename from demo_data/train/2/25945_left.jpeg rename to demo_data/demo/2/25945_left.jpeg diff --git a/demo_data/train/2/27297_left.jpeg b/demo_data/demo/2/27297_left.jpeg similarity index 100% rename from demo_data/train/2/27297_left.jpeg rename to demo_data/demo/2/27297_left.jpeg diff --git a/demo_data/train/2/31160_left.jpeg b/demo_data/demo/2/31160_left.jpeg similarity index 100% rename from demo_data/train/2/31160_left.jpeg rename to demo_data/demo/2/31160_left.jpeg diff --git a/demo_data/train/2/43789_right.jpeg b/demo_data/demo/2/43789_right.jpeg similarity index 100% rename from demo_data/train/2/43789_right.jpeg rename to demo_data/demo/2/43789_right.jpeg diff --git a/demo_data/train/2/5728_left.jpeg b/demo_data/demo/2/5728_left.jpeg similarity index 100% rename from demo_data/train/2/5728_left.jpeg rename to demo_data/demo/2/5728_left.jpeg diff --git a/demo_data/train/2/7805_right.jpeg b/demo_data/demo/2/7805_right.jpeg similarity index 100% rename from demo_data/train/2/7805_right.jpeg rename to demo_data/demo/2/7805_right.jpeg diff --git a/demo_data/train/2/7906_right.jpeg b/demo_data/demo/2/7906_right.jpeg similarity index 100% rename from demo_data/train/2/7906_right.jpeg rename to demo_data/demo/2/7906_right.jpeg diff --git a/demo_data/train/3/11031_right.jpeg b/demo_data/demo/3/11031_right.jpeg similarity index 100% rename from demo_data/train/3/11031_right.jpeg rename to demo_data/demo/3/11031_right.jpeg diff --git a/demo_data/train/3/11219_left.jpeg b/demo_data/demo/3/11219_left.jpeg similarity index 100% rename from demo_data/train/3/11219_left.jpeg rename to demo_data/demo/3/11219_left.jpeg diff --git a/demo_data/train/3/12881_left.jpeg b/demo_data/demo/3/12881_left.jpeg similarity index 100% rename from demo_data/train/3/12881_left.jpeg rename to demo_data/demo/3/12881_left.jpeg diff --git a/demo_data/train/3/14481_right.jpeg b/demo_data/demo/3/14481_right.jpeg similarity index 100% rename from demo_data/train/3/14481_right.jpeg rename to demo_data/demo/3/14481_right.jpeg diff --git a/demo_data/train/3/15930_right.jpeg b/demo_data/demo/3/15930_right.jpeg similarity index 100% rename from demo_data/train/3/15930_right.jpeg rename to demo_data/demo/3/15930_right.jpeg diff --git a/demo_data/train/3/2577_left.jpeg b/demo_data/demo/3/2577_left.jpeg similarity index 100% rename from demo_data/train/3/2577_left.jpeg rename to demo_data/demo/3/2577_left.jpeg diff --git a/demo_data/train/3/26254_right.jpeg b/demo_data/demo/3/26254_right.jpeg similarity index 100% rename from demo_data/train/3/26254_right.jpeg rename to demo_data/demo/3/26254_right.jpeg diff --git a/demo_data/train/3/30226_left.jpeg b/demo_data/demo/3/30226_left.jpeg similarity index 100% rename from demo_data/train/3/30226_left.jpeg rename to demo_data/demo/3/30226_left.jpeg diff --git a/demo_data/train/3/34918_right.jpeg b/demo_data/demo/3/34918_right.jpeg similarity index 100% rename from demo_data/train/3/34918_right.jpeg rename to demo_data/demo/3/34918_right.jpeg diff --git a/demo_data/train/3/6433_left.jpeg b/demo_data/demo/3/6433_left.jpeg similarity index 100% rename from demo_data/train/3/6433_left.jpeg rename to demo_data/demo/3/6433_left.jpeg diff --git a/demo_data/train/4/13669_left.jpeg b/demo_data/demo/4/13669_left.jpeg similarity index 100% rename from demo_data/train/4/13669_left.jpeg rename to demo_data/demo/4/13669_left.jpeg diff --git a/demo_data/train/4/14436_right.jpeg b/demo_data/demo/4/14436_right.jpeg similarity index 100% rename from demo_data/train/4/14436_right.jpeg rename to demo_data/demo/4/14436_right.jpeg diff --git a/demo_data/train/4/19471_left.jpeg b/demo_data/demo/4/19471_left.jpeg similarity index 100% rename from demo_data/train/4/19471_left.jpeg rename to demo_data/demo/4/19471_left.jpeg diff --git a/demo_data/train/4/33906_right.jpeg b/demo_data/demo/4/33906_right.jpeg similarity index 100% rename from demo_data/train/4/33906_right.jpeg rename to demo_data/demo/4/33906_right.jpeg diff --git a/demo_data/train/4/37958_left.jpeg b/demo_data/demo/4/37958_left.jpeg similarity index 100% rename from demo_data/train/4/37958_left.jpeg rename to demo_data/demo/4/37958_left.jpeg diff --git a/demo_data/train/4/38186_left.jpeg b/demo_data/demo/4/38186_left.jpeg similarity index 100% rename from demo_data/train/4/38186_left.jpeg rename to demo_data/demo/4/38186_left.jpeg diff --git a/demo_data/train/4/39505_left.jpeg b/demo_data/demo/4/39505_left.jpeg similarity index 100% rename from demo_data/train/4/39505_left.jpeg rename to demo_data/demo/4/39505_left.jpeg diff --git a/demo_data/train/4/4086_left.jpeg b/demo_data/demo/4/4086_left.jpeg similarity index 100% rename from demo_data/train/4/4086_left.jpeg rename to demo_data/demo/4/4086_left.jpeg diff --git a/demo_data/train/4/4130_left.jpeg b/demo_data/demo/4/4130_left.jpeg similarity index 100% rename from demo_data/train/4/4130_left.jpeg rename to demo_data/demo/4/4130_left.jpeg diff --git a/demo_data/train/4/43839_right.jpeg b/demo_data/demo/4/43839_right.jpeg similarity index 100% rename from demo_data/train/4/43839_right.jpeg rename to demo_data/demo/4/43839_right.jpeg