sayakpaul HF staff commited on
Commit
41a4b3e
·
1 Parent(s): 1f3f870

rm unnecessary script.

Browse files
Files changed (1) hide show
  1. glob_p.py +0 -15
glob_p.py DELETED
@@ -1,15 +0,0 @@
1
- import glob
2
- import os
3
-
4
- root_path = "images"
5
- tasks = ["Deraining", "Dehazing", "Enhancement", "Deblurring", "Denoising"]
6
- task_wise_image_paths = {}
7
-
8
- for task in tasks:
9
- task_path = os.path.join(root_path, task, "input")
10
- image_paths = os.listdir(task_path)
11
- image_paths = [os.path.join(task_path, image_path) for image_path in image_paths]
12
- image_paths = [[i] for i in image_paths]
13
- task_wise_image_paths.update({task: image_paths})
14
-
15
- print(task_wise_image_paths)