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

Data normalization before feeding to the Segmentation network #26

Open
koutilya-pnvr opened this issue Mar 7, 2021 · 1 comment
Open

Comments

@koutilya-pnvr
Copy link

Hi, I looked at the dataloader and training codes completely and noticed that you are subtracting the Imagenet mean from the input RGB images (GTA and Cityscapes) but not normalizing the data to either 0 to 1 (or to -0.5 to 0.5 for that matter).

Just wanted to know if I missed out on something or you intentionally chose to skip the normalization before feeding the data to the segmentation network.

Appreciate your response.

@soans1994
Copy link

soans1994 commented May 10, 2022

yes, the values are 0-255, i wonder why it has not been divided by 255.
Also after transformation using mean i get black image is this right?
Figure_2
Figure_1

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