恢复 algorithm_subprocesses 权重文件的 git 追踪。
权重目录与 doctor_info.pth 纳入版本库;样本视频、Excel、构建缓存仍保持 ignore。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
6
.gitignore
vendored
6
.gitignore
vendored
@@ -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/*
|
||||
|
||||
Reference in New Issue
Block a user