RCF-pytorch icon indicating copy to clipboard operation
RCF-pytorch copied to clipboard

lb[np.logical_and(lb>0, lb<128)] = 2

Open LunarSun opened this issue 3 years ago • 1 comments

why lb[np.logical_and(lb>0, lb<128)] = 2? in data_loader.py { class BSDS_RCFLoader(data.Dataset):/def getitem(self, index):}

LunarSun avatar Jul 24 '20 07:07 LunarSun

I got it .it is used to mask the weight in function.py /def cross_entropy_loss_RCF(prediction, label):

LunarSun avatar Jul 25 '20 05:07 LunarSun