A modified approach getting celeb-hq dataset
Replace saving in h5 file system with directly storing in picture
- Clone original repo
git clone https://github.com/tkarras/progressive_growing_of_gans/tree/original-theano-version
- Clone this repo
git clone https://github.com/willylulu/celeb-hq-modified
- Replace h5tool.py file in original repo with this repo
cp celeb-hq-modified/h5tool.py progressive_growing_of_gans/h5tool
- Create target directory in progressive_growing_of_gans repo
cd progressive_growing_of_gans
mkdir celeba-hq
cd celeba-hq
mkdir celeba-64
mkdir celeba-128
mkdir celeba-256
mkdir celeba-512
mkdir celeba-1024
-
Back to home path
cd
-
Creare a directory B and download celebA not align version and put them in directory A
-
Create a directory A and download celeb-hq zip file and put them in directory B
-
Downloadd anno file and put them in directory B
-
Excute h5tool.py
python h5tool.py create_celeba_hq 123456.h5 <path to directory A> <path to directory B>