rishizek/tensorflow-deeplab-v3-plus

How to adjust label weights?

476117957 opened this issue · 1 comments

For example the proportion of the pixels of background, class1, class2 is 10:5:1, how to adjust the weight of each label in loss? Thanks a lot!

I think I found it in deeplab_model.py line 220.