ASL
ASL copied to clipboard
How to pass weights to ASL?
Nice work! I wonder how to pass weights to this custom ASL loss, because our previous task used 'criterion = nn.BCEWithLogitsLoss(weight=self.y_pos_weight)'. Can you give some advice on handling the weights parameter? Thanks a lot~