Update det_basic_loss.py
diff --git a/ppocr/losses/det_basic_loss.py b/ppocr/losses/det_basic_loss.py
index ef656e8c77..57b3667d9f 100644
--- a/ppocr/losses/det_basic_loss.py
+++ b/ppocr/losses/det_basic_loss.py
@@ -45,7 +45,6 @@ def __init__(self,
         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
 

删除重复赋值[self.main_loss_type]