Closed daeunni closed 1 year ago
Hi @daeunni , thanks.
Here is the file I used to compute class weights for the different datasets. You can also refer to the class weights computation in the original ERFNet repository here. From what I remember, segmentation uses a weighted loss computed by the frequency of classes in training data (especially if your segmentation data is severely imbalanced).
Hi, @prachigarg23 Thanks for your nice work! However, how did you calculate
weight_IDD
,weight_BDD
,weight_city
in your code like below?Where can I earn these weights? (I want to change ERFNet to other segmentation models)