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

Random cropping during preprocessing in train.py #20

Open
mgarbade opened this issue Nov 15, 2017 · 1 comment
Open

Random cropping during preprocessing in train.py #20

mgarbade opened this issue Nov 15, 2017 · 1 comment

Comments

@mgarbade
Copy link

Thanks a lot for your repository. While reading through train.py I noticed that PASCAL VOC images are being resized to 321x321 in this line.
In the original paper they perform a random cropping on img and gt mask. Here is an example from the corresponding Tensorflow code. There mask and image are concatenated and then cropped simultaneously.

@isht7
Copy link
Owner

isht7 commented Nov 15, 2017

Thank you for your feedback! I will try to add this in some time.

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

No branches or pull requests

2 participants