ihsass commited on
Commit
a7ae135
·
1 Parent(s): 9754b95

Update resizer_v4.py

Browse files
Files changed (1) hide show
  1. resizer_v4.py +2 -2
resizer_v4.py CHANGED
@@ -7,7 +7,7 @@ from concurrent.futures import ProcessPoolExecutor
7
  Image.MAX_IMAGE_PIXELS = 200000000 # Allow images up to 200 million pixels
8
 
9
  DATA = [
10
- ((768,1368), r"F:\woman dataset\768x1368"),
11
  ((1216, 832), r"F:\woman dataset\1216x832")
12
  ]
13
 
@@ -41,7 +41,7 @@ DATA = [
41
 
42
 
43
  NUM_THREADS = 1 # Modify this for the desired number of threads
44
- OUTPUT_ROOT = r"G:\woman dataset\fixed_faces_png" # Root folder to save resized images
45
  Save_PNG = False # Options are True and False
46
  LOG_FILE = "face_detection_failures.txt" # File to log images where faces can't be detected
47
 
 
7
  Image.MAX_IMAGE_PIXELS = 200000000 # Allow images up to 200 million pixels
8
 
9
  DATA = [
10
+ ((768,1368), r"/kaggle/input/resizerbb"),
11
  ((1216, 832), r"F:\woman dataset\1216x832")
12
  ]
13
 
 
41
 
42
 
43
  NUM_THREADS = 1 # Modify this for the desired number of threads
44
+ OUTPUT_ROOT = r"/kaggle/working" # Root folder to save resized images
45
  Save_PNG = False # Options are True and False
46
  LOG_FILE = "face_detection_failures.txt" # File to log images where faces can't be detected
47