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

Added Image resizing feature to resize all images in dataset to have uniform size #17

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Thirunayan22
Copy link

@Thirunayan22 Thirunayan22 commented Sep 12, 2020

The StyleGAN model requires all images in the dataset to be of uniform size , currently this pre-processing stage has to be done manually , I have proposed a helper program which can reshape all images in a given source directory to be of the shape that can be specified. In addition I have also updated the Readme.md to include this change and show how the command should be executed in the terminal.

The Pillow(PIL) library is used for reshaping the images and tqdm is used for visualizing the progress.

processing_1

After completion
processing_2

@Thirunayan22
Copy link
Author

@tkarras Can you please review my pull request.Awaiting your feedback

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