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

image and crop size in data_loader #14

Open
zhihongp opened this issue Feb 27, 2022 · 1 comment
Open

image and crop size in data_loader #14

zhihongp opened this issue Feb 27, 2022 · 1 comment

Comments

@zhihongp
Copy link

zhihongp commented Feb 27, 2022

A bit confused by the data loading process. It seems the downloaded data is 256x256, but applied with bilinear resizing to 513x513 in data_loader.py. Is the resizing needed as the deeplab model is trained on 513x513 (or 512?) data?

@royorel
Copy link
Owner

royorel commented Feb 28, 2022

@zhihongp You are correct, the deeplab network was trained on 513x513 images. (It was supposed to be 512x512, but we had a typo :) )

The data itself can be generated at any desired resolution, (see the readme file) but the segmentation network works on 513x513. The output segmentation maps are then resized with nearest neighbor interpolation.

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