Skip to content

Update celeba_crop.py#28

Open
dymnmysn wants to merge 1 commit intoelliottwu:masterfrom
dymnmysn:patch-1
Open

Update celeba_crop.py#28
dymnmysn wants to merge 1 commit intoelliottwu:masterfrom
dymnmysn:patch-1

Conversation

@dymnmysn
Copy link
Copy Markdown

Avoid bad cropped images
When using the code in different dataset, sometimes height or width of the cropped part become zero.
To avoid this and bad outputs you may force minimum height and width.

Avoid bad cropped images
When using the code in different dataset, sometimes height or width of the cropped part become zero.
To avoid this and bad outputs you may force minimum height and width.
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