- Go to http://vis-www.cs.umass.edu/lfw/lfw-deepfunneled.tgz to download aligned LFW images
- Download the attributes file: http://www.cs.columbia.edu/CAVE/databases/pubfig/download/lfw_attributes.txt..
- Extract the zip files.
- Move the data to data/raw
In data/raw should have the following folder structure:
├──lfw_attributes.txt
├── lfw-deepfunneled
├──lots of images in folder with person's name
python make_dataset.py
positional arguments:
positional arguments:
keras_model_path Path to keras deep-learning-models directory
optional arguments:
-h, --help show this help message and exit
--img_size IMG_SIZE Desired Width == Height
--do_plot DO_PLOT Whether to visualize saved images
--batch_size BATCH_SIZE
Batch size for VGG predictions
Example:
python make_dataset.py /home/user/GitHub/deep-learning-models