-
Notifications
You must be signed in to change notification settings - Fork 1
/
prep_dataset.py
15 lines (13 loc) · 1.1 KB
/
prep_dataset.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import os
os.system('googleimagesdownload -k="Chinese Man" -l=100 -f=jpg -o=./train -i=ChineseMan')
os.system('googleimagesdownload -k="American Man" -l=100 -f=jpg -o=./train -i=AmericanMan')
os.system('googleimagesdownload -k="Indian Man" -l=100 -f=jpg -o=./train -i=IndianMan')
os.system('googleimagesdownload -k="African Man" -l=100 -f=jpg -o=./train -i=AfricanMan')
os.system('googleimagesdownload -k="Middle East Man" -l=100 -f=jpg -o=./train -i=ArabMan')
os.system('googleimagesdownload -k="Indonesian Man" -l=100 -f=jpg -o=./train -i=IndonesianMan')
os.system('googleimagesdownload -k="Chinese Woman" -l=100 -f=jpg -o=./train -i=ChineseWoman')
os.system('googleimagesdownload -k="American Woman" -l=100 -f=jpg -o=./train -i=AmericanWoman')
os.system('googleimagesdownload -k="Indian Woman" -l=100 -f=jpg -o=./train -i=IndianWoman')
os.system('googleimagesdownload -k="African Woman" -l=100 -f=jpg -o=./train -i=AfricanWoman')
os.system('googleimagesdownload -k="Middle East Woman" -l=100 -f=jpg -o=./train -i=ArabWoman')
os.system('googleimagesdownload -k="Indonesian Woman" -l=100 -f=jpg -o=./train -i=IndonesianWoman')