恢复 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/*
|
||||
|
||||
13
backend/algorithm_subprocesses/.gitignore
vendored
13
backend/algorithm_subprocesses/.gitignore
vendored
@@ -1,10 +1,8 @@
|
||||
# 算法子进程包(algorithm subprocess bundles)
|
||||
# 源码与配置保留在 git;权重、样本 I/O、构建缓存离线交付或挂载。
|
||||
# 权重(weights/、doctor_info.pth 等)纳入 git;样本 I/O、构建缓存、运行时产物忽略。
|
||||
# 详见 algorithm_subprocesses/5.15/README.md §「准备权重与输入」。
|
||||
|
||||
# --- 运行时 I/O(保留 .gitkeep)---
|
||||
**/weights/*
|
||||
!**/weights/.gitkeep
|
||||
**/input/*
|
||||
!**/input/.gitkeep
|
||||
**/output/*
|
||||
@@ -12,18 +10,13 @@
|
||||
**/data/*
|
||||
!**/data/.gitkeep
|
||||
|
||||
# --- 大文件 / 离线资产 ---
|
||||
*.pt
|
||||
*.pth
|
||||
*.pth.tar
|
||||
*.pkl
|
||||
*.task
|
||||
# --- 离线样本 / 表格(本地准备,不进 git)---
|
||||
*.mp4
|
||||
*.xlsx
|
||||
*.xls
|
||||
**/商品信息表.xlsx
|
||||
|
||||
# --- 子包运行时 ---
|
||||
# --- 子包运行时(非权重)---
|
||||
doctor_identity_package/.mediapipe_models/
|
||||
**/infer_single_*/input/
|
||||
**/*_run.log
|
||||
|
||||
BIN
backend/algorithm_subprocesses/5.15/doctor_identity_package/doctor_info.pth
Executable file
BIN
backend/algorithm_subprocesses/5.15/doctor_identity_package/doctor_info.pth
Executable file
Binary file not shown.
BIN
backend/algorithm_subprocesses/5.15/weights/actionformer_epoch_045.pth.tar
Executable file
BIN
backend/algorithm_subprocesses/5.15/weights/actionformer_epoch_045.pth.tar
Executable file
Binary file not shown.
BIN
backend/algorithm_subprocesses/5.15/weights/eval_results.pkl
Executable file
BIN
backend/algorithm_subprocesses/5.15/weights/eval_results.pkl
Executable file
Binary file not shown.
BIN
backend/algorithm_subprocesses/5.15/weights/goodbad_frame.pt
Executable file
BIN
backend/algorithm_subprocesses/5.15/weights/goodbad_frame.pt
Executable file
Binary file not shown.
BIN
backend/algorithm_subprocesses/5.15/weights/hand_detect.pt
Executable file
BIN
backend/algorithm_subprocesses/5.15/weights/hand_detect.pt
Executable file
Binary file not shown.
BIN
backend/algorithm_subprocesses/5.15/weights/haocai_classify.pt
Executable file
BIN
backend/algorithm_subprocesses/5.15/weights/haocai_classify.pt
Executable file
Binary file not shown.
BIN
backend/algorithm_subprocesses/5.15/weights/tear_classify.pt
Executable file
BIN
backend/algorithm_subprocesses/5.15/weights/tear_classify.pt
Executable file
Binary file not shown.
Reference in New Issue
Block a user