ihsass commited on
Commit
89f2d3b
·
1 Parent(s): 78fe0d4

Update resizer_v5.py

Browse files
Files changed (1) hide show
  1. resizer_v5.py +4 -4
resizer_v5.py CHANGED
@@ -7,15 +7,15 @@ 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/upload-images"),
11
- ((1024, 1536), r"/kaggle/input/upload-images"),
12
- ((1024, 1280), r"/kaggle/input/upload-images"),
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/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/output" # 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