From 75890966762cae16199b2de00a1dcb6ba5b5ca6a Mon Sep 17 00:00:00 2001 From: yooooger <761181201@qq.com> Date: Tue, 2 Sep 2025 15:35:22 +0800 Subject: [PATCH] 1 --- Ai_tottle/yolo_train.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Ai_tottle/yolo_train.py b/Ai_tottle/yolo_train.py index 4e10a99..dfd321f 100644 --- a/Ai_tottle/yolo_train.py +++ b/Ai_tottle/yolo_train.py @@ -369,12 +369,12 @@ def query_progress(project_name, run_time=None): if run_time is None: dirs = sorted(os.listdir(base_dir), reverse=True) if not dirs: - return {"status": "not_found", "message": "没有找到训练记录"} + return {"status": "not_found", "message": "Documenta exercitationis non inventa sunt"} run_time = dirs[0] log_path = os.path.join(base_dir, run_time, "results.csv") if not os.path.exists(log_path): - return {"status": "not_found", "message": f"没有找到日志 {log_path}"} + return {"status": "not_found", "message": f"Documenta exercitationis non inventa sunt {log_path}"} df = pd.read_csv(log_path) if df.empty: