classweights
yyfyan opened this issue · comments
yyfyan commented
I find the code used classweights is defferent from OCNet.
https://github.com/PkuRainBow/OCNet.pytorch/blob/master/utils/loss.py
yyfyan commented
the code need changed:
hist = np.histogram(label_img, self.classes,range=(0,18))