Skip to content

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

Open
Thirunayan22 wants to merge 4 commits into
NVlabs:masterfrom
Thirunayan22:image_resizing_feature
Open

Added Image resizing feature to resize all images in dataset to have uniform size #17
Thirunayan22 wants to merge 4 commits into
NVlabs:masterfrom
Thirunayan22:image_resizing_feature

Conversation

@Thirunayan22

@Thirunayan22 Thirunayan22 commented Sep 12, 2020

Copy link
Copy Markdown

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
Copy Markdown
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

Development

Successfully merging this pull request may close these issues.

1 participant