daifeng2016 / End-to-end-CD-for-VHR-satellite-image

The project aims to contribute to geoscience community
65 stars 22 forks source link

损失函数 #15

Open fpan98 opened 3 years ago

fpan98 commented 3 years ago

那个Balaced cross entropy的实现是错的吧,K.sum(K.binary_crossentropy(y_true, y_pred),axis=[0,1,2]),不就是对loss求和了吗?后面的weight不就没有作用了吗?