Jeong-Tae Lee
Results
1
issues of
Jeong-Tae Lee
Instead calculating a weight for each batch, applying to class using pos_weight argument in `torch.nn.BCELoss(pos_weights=weights)` Simply, https://github.com/vandit15/Class-balanced-loss-pytorch/blob/master/class_balanced_loss.py#L71-L82 Are those line of codes same with ``` effective_num = 1.0 - np.power(beta,...