Open sumanthdonapati opened 1 year ago
I my case inst_com contains NaN values when there is tile with only background (i.e. np.sum(int_map) == 0 ).
np.sum(int_map) == 0
149 sometimes inst_com contains NaN values in it, idk why nan values are occuring in it. I am just replacing nan values with zero to not stop the training