Open LunarSun opened 4 years ago
why lb[np.logical_and(lb>0, lb<128)] = 2? in data_loader.py { class BSDS_RCFLoader(data.Dataset):/def getitem(self, index):}
I got it .it is used to mask the weight in function.py /def cross_entropy_loss_RCF(prediction, label):
why lb[np.logical_and(lb>0, lb<128)] = 2? in data_loader.py { class BSDS_RCFLoader(data.Dataset):/def getitem(self, index):}