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: