-
Notifications
You must be signed in to change notification settings - Fork 317
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
Why does the loss function ignore the tag of 255. #59
Comments
That is the requirement of the dataset, you may check here for the category mapping. |
@CoinCheung Still do not understand, why there are so strange requirements. Why did he do it? |
There are 30+ categories in the original image, but we only use 19 of them to train and do evaluation. Some of the original 30+ categories are thus mapped to 19 categories, and the others are neglected. We do not need to care about the neglected pixels in the images in the training process, so we do not consider them when we compute the loss. In this way, the neglected pixels have no influence on the gradient and behaves like 'ignored'. |
@CoinCheung Oh, I'll check again. I looked at the images and labels before, and I felt that some of the images of cars were ignored. Maybe there are many kinds of cars. Some kinds of cars are ignored. |
the code pad image through: my doubt is, why we not set the padded pixes to 0, corresponding to the backgroung ?? like: |
@CoinCheung Why does the loss function ignore the tag of 255. I look at the data. The label of 255 may be various objects, and each image is almost different. Why, please?
The text was updated successfully, but these errors were encountered: