feat: 合并 Docker Compose、标注表格优化与部署文档
将 platform + CVAT 合并为单文件 docker-compose.yml,完善 .env 与 init/dev_up 脚本; 新增 docs/DEPLOY.md 与更新 README 以支持新机器部署;含数据湖示例、车队地图、 紧凑表格 UI、ADAS det_7cls 路径与批次台账等近期改动。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -8,6 +8,17 @@ from pathlib import Path
|
||||
from as_platform.config import WORKSPACE
|
||||
|
||||
|
||||
def validate_dms_inbox_batch(batch_dir: Path) -> list[str]:
|
||||
"""Promote 前校验单个 inbox 批次(不要求 pack 目录已存在)。"""
|
||||
from as_platform.labeling.batch_stage import batch_has_yolo_labels
|
||||
|
||||
if not batch_dir.is_dir():
|
||||
return [f"batch_dir missing: {batch_dir}"]
|
||||
if not batch_has_yolo_labels(batch_dir):
|
||||
return [f"no YOLO labels under {batch_dir} (先执行 labeling_export)"]
|
||||
return []
|
||||
|
||||
|
||||
def validate_dms_task(task: str | None) -> list[str]:
|
||||
cmd = [sys.executable, str(WORKSPACE / "scripts" / "validate_dms_tasks.py")]
|
||||
if task:
|
||||
|
||||
Reference in New Issue
Block a user