David hace 3 meses
padre
commit
97fd90510b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      models_processing/model_koi/tf_bp_pre.py

+ 1 - 1
models_processing/model_koi/tf_bp_pre.py

@@ -23,7 +23,7 @@ np.random.seed(42)  # NumPy随机种子
 app = Flask('tf_bp_pre——service')
 
 with app.app_context():
-    with open('../model_koi/bp.yaml', 'r', encoding='utf-8') as f:
+    with open('./models_processing/model_koi/bp.yaml', 'r', encoding='utf-8') as f:
         args = yaml.safe_load(f)
     dh = DataHandler(logger, args)
     bp = BPHandler(logger, args)