chore: 初始化 uv 项目配置与忽略规则

- pyproject.toml 采用 uv 应用模式(package = false),直接从仓库根运行入口脚本
- 依赖:torch / torchvision / numpy / pillow / pyyaml / swanlab
- dev 组含 pytest 与 ruff,export 组按需安装 onnx / onnxscript
- 忽略数据集本体、runs/ 训练产物、权重与 .DS_Store

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Shaun Zhou
2026-09-02 17:54:55 +08:00
co-authored by Claude Opus 5
parent c0e7c23aef
commit 0645fc19f7
4 changed files with 1734 additions and 0 deletions
+17
View File
@@ -1,3 +1,6 @@
.vscode/
CLAUDE.MD
# ---> Python
# Byte-compiled / optimized / DLL files
__pycache__/
@@ -174,3 +177,17 @@ cython_debug/
# PyPI configuration file
.pypirc
# ---- 项目自定义 ----
# macOS
.DS_Store
# 数据集本体不入库,只保留 data/README.md 与软链说明
data/*
!data/README.md
# 训练产物
runs/
*.pth
*.pt
*.onnx
*.engine