Skip to content

Latest commit

 

History

History
 
 

data

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

Building the data

Step 1. Download LFW

In data/raw should have the following folder structure:

├──lfw_attributes.txt
├── lfw-deepfunneled
    ├──lots of images in folder with person's name

Step 2. Build HDF5 LFW dataset

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