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

normalize_data problem why image/255 and mask/255 when training #17

Closed
sdjsngs opened this issue Apr 17, 2019 · 1 comment
Closed

normalize_data problem why image/255 and mask/255 when training #17

sdjsngs opened this issue Apr 17, 2019 · 1 comment

Comments

@sdjsngs
Copy link

sdjsngs commented Apr 17, 2019

before training, why should image/255 and mask/255 my mask's each pixel is an index in [0,classnumber] if mask/255 they will all be 0 (class:background) when i use pascal VOC 2012 dataset
one more thing why use 30 in parse resize normaliza and shuffle thanks a lot

@HasnainRaz
Copy link
Owner

You can comment out the normalization function in the dataloader. It was written for binary class segmentation problems where the mask has [0, 255] values.

The 30 is just a number I put in, you can increase the buffer size as you wish. There is not restriction on it.

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