Skip to content

Latest commit

 

History

History
38 lines (23 loc) · 1016 Bytes

README.md

File metadata and controls

38 lines (23 loc) · 1016 Bytes

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