Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

Building the data

Step 1. Download CelebA

You should have the following folder structure:

├── Anno
    ├── list_attr_celeba.txt  
    ├── list_bbox_celeba.txt  
    ├── list_landmarks_align_celeba.txt  
    ├── list_landmarks_celeba.txt
├── Eval
    ├──list_eval_partition.txt
├── img_align_celeba
    ├──lots of images

Step 2. Build HDF5 CelebA dataset

python make_dataset.py

positional arguments:

list_datasets        List of dataset names. Choose training, validation or
                   test
optional arguments:
-h, --help           show this help message and exit
--img_size IMG_SIZE  Desired Width == Height
--do_plot DO_PLOT    Whether to visualize statistics when computing color
                   prior

Example:

python make_dataset.py --img_size 64