ihsass commited on
Commit
4de751c
·
1 Parent(s): e29b448

Update resizer_v5.py

Browse files
Files changed (1) hide show
  1. resizer_v5.py +2 -4
resizer_v5.py CHANGED
@@ -7,15 +7,13 @@ from concurrent.futures import ProcessPoolExecutor
7
  Image.MAX_IMAGE_PIXELS = 200000000 # Allow images up to 200 million pixels
8
 
9
  DATA = [
10
- ((1024, 1024), r"/kaggle/input/uzma-photos-50"),
11
- ((1024, 1536), r"/kaggle/input/uzma-photos-50"),
12
- ((1024, 1280), r"/kaggle/input/uzma-photos-50"),
13
  ]
14
 
15
 
16
 
17
  NUM_THREADS = 1 # Modify this for the desired number of threads
18
- OUTPUT_ROOT = r"/kaggle/working" # Root folder to save resized images
19
  Save_PNG = False # Options are True and False
20
  LOG_FILE = "face_detection_failures.txt" # File to log images where faces can't be detected
21
 
 
7
  Image.MAX_IMAGE_PIXELS = 200000000 # Allow images up to 200 million pixels
8
 
9
  DATA = [
10
+ ((1024, 1024), r"/kaggle/input/uzma15"),
 
 
11
  ]
12
 
13
 
14
 
15
  NUM_THREADS = 1 # Modify this for the desired number of threads
16
+ OUTPUT_ROOT = r"/kaggle/working/outputs" # Root folder to save resized images
17
  Save_PNG = False # Options are True and False
18
  LOG_FILE = "face_detection_failures.txt" # File to log images where faces can't be detected
19