From b48efcf1d1695305c29deb502fc43266b7ec4cf7 Mon Sep 17 00:00:00 2001 From: jingboyitiji Date: Tue, 1 Apr 2025 13:22:51 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE=E4=B8=8A=E4=BC=A0=E6=8A=A5?= =?UTF-8?q?=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/dataread.py | 4 ++-- main_yuanyou.py | 1 + main_yuanyou_yuedu.py | 1 + main_yuanyou_zhoudu.py | 1 + 4 files changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/dataread.py b/lib/dataread.py index dd6d331..9923b3a 100644 --- a/lib/dataread.py +++ b/lib/dataread.py @@ -1114,6 +1114,8 @@ class Config: @property def is_fivemodels(self): return global_config['is_fivemodels'] @property + def is_update_report(self): return global_config['is_update_report'] + @property def weight_dict(self): return global_config['weight_dict'] # 模型参数 @@ -1141,8 +1143,6 @@ class Config: def is_update_eta(self): return global_config['is_update_eta'] @property def is_update_eta_data(self): return global_config['is_update_eta_data'] - @property - def is_update_report(self): return global_config['is_update_report'] # 时间参数 @property diff --git a/main_yuanyou.py b/main_yuanyou.py index bdc532c..65d663f 100644 --- a/main_yuanyou.py +++ b/main_yuanyou.py @@ -16,6 +16,7 @@ global_config.update({ 'is_debug': is_debug, 'is_train': is_train, 'is_fivemodels': is_fivemodels, + 'is_update_report': is_update_report, 'settings': settings, 'weight_dict': weight_dict, diff --git a/main_yuanyou_yuedu.py b/main_yuanyou_yuedu.py index 3b470d0..58e468b 100644 --- a/main_yuanyou_yuedu.py +++ b/main_yuanyou_yuedu.py @@ -16,6 +16,7 @@ global_config.update({ 'is_debug': is_debug, 'is_train': is_train, 'is_fivemodels': is_fivemodels, + 'is_update_report': is_update_report, 'settings': settings, diff --git a/main_yuanyou_zhoudu.py b/main_yuanyou_zhoudu.py index 8a1e6db..af5492e 100644 --- a/main_yuanyou_zhoudu.py +++ b/main_yuanyou_zhoudu.py @@ -16,6 +16,7 @@ global_config.update({ 'is_debug': is_debug, 'is_train': is_train, 'is_fivemodels': is_fivemodels, + 'is_update_report': is_update_report, 'settings': settings,