Update det_basic_loss.py

删除重复赋值[self.main_loss_type]
This commit is contained in:
gnoixnil'il 2020-12-20 13:46:40 +08:00 committed by GitHub
parent 5693001294
commit e6315ddd76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -45,7 +45,6 @@ class BalanceLoss(nn.Layer):
self.balance_loss = balance_loss
self.main_loss_type = main_loss_type
self.negative_ratio = negative_ratio
self.main_loss_type = main_loss_type
self.return_origin = return_origin
self.eps = eps