恢复 algorithm_subprocesses 权重文件的 git 追踪。

权重目录与 doctor_info.pth 纳入版本库;样本视频、Excel、构建缓存仍保持 ignore。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Kevin
2026-05-21 16:12:00 +08:00
parent 70431ca3f9
commit c5716cf0af
9 changed files with 5 additions and 14 deletions

6
.gitignore vendored
View File

@@ -53,12 +53,10 @@ backend/.env.*
backend/logs/
backend/Ultralytics/
# Large model weights (deploy via mount or offline delivery)
# Large duplicate ActionFormer checkpoint (canonical copy lives under algorithm_subprocesses/5.15/weights/)
backend/app/resources/actionformer_epoch_045.pth.tar
# Algorithm subprocess bundles — runtime assets ignored via backend/algorithm_subprocesses/.gitignore
backend/algorithm_subprocesses/**/weights/*
!backend/algorithm_subprocesses/**/weights/.gitkeep
# Algorithm subprocess bundles — runtime I/O ignored; weights are tracked in git
backend/algorithm_subprocesses/**/input/*
!backend/algorithm_subprocesses/**/input/.gitkeep
backend/algorithm_subprocesses/**/output/*