Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preprocessing #11

Closed
voa18105 opened this issue Jul 13, 2018 · 2 comments
Closed

Preprocessing #11

voa18105 opened this issue Jul 13, 2018 · 2 comments

Comments

@voa18105
Copy link

Could you please you upload the scripts for preprocessing images?

@voa18105
Copy link
Author

voa18105 commented Jul 16, 2018

I found the script 'generate tfr'. But it does not work from the box. What should be the structure of the dataset in order to generate tfrecords of it?

@prafullasd
Copy link
Contributor

prafullasd commented Jul 21, 2018

Which dataset are you trying to generate? Note you can directly downloading our processed tfr files using the links in the README, the scripts are only to see how we processed them.

lsun.py and imagenet_oord.py generate the tfr files for the datasets lsun, lsun_realnvp and imagenet-oord using the original images. Check the instructions at the top of the files on how to download the original images needed.

generate.py generates the tfr files for the datasets celeba-hq and imagenet using tfrecords files obtained from these scripts - https://github.com/tkarras/progressive_growing_of_gans/blob/master/dataset_tool.py
https://github.com/tensorflow/models/blob/master/research/inception/inception/data/build_imagenet_data.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants