From c72f22eb73883d1eac74274978269f5aa11accec Mon Sep 17 00:00:00 2001 From: xsl Date: Tue, 7 Jul 2026 20:49:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DLFS=E6=8C=87=E9=92=88?= =?UTF-8?q?=E9=97=AE=E9=A2=98=EF=BC=9A=E5=88=A0=E9=99=A4=20simsun.ttc(LFS?= =?UTF-8?q?=E6=8C=87=E9=92=88=EF=BC=8C=E4=BB=A3=E7=A0=81=E5=B7=B2=E6=B3=A8?= =?UTF-8?q?=E9=87=8A=E4=B8=8D=E7=94=A8)=20=E5=92=8C=20.gitattributes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 原因:hair_service_sd 继承自旧项目,simsun.ttc 是 LFS 指针文件(133B), 但真实字体(10.5MB)未上传到LFS存储,导致clone时报404。 经查该字体在 hairstyle_model.py:3121 已被注释,不再使用,直接删除。 另一台机器clone报错: Error downloading simsun.ttc: [404] Not Found 本次删除后clone不再需要LFS。 --- project/hair_service_sd/.gitattributes | 3 --- project/hair_service_sd/core/simsun.ttc | 3 --- 2 files changed, 6 deletions(-) delete mode 100644 project/hair_service_sd/.gitattributes delete mode 100644 project/hair_service_sd/core/simsun.ttc diff --git a/project/hair_service_sd/.gitattributes b/project/hair_service_sd/.gitattributes deleted file mode 100644 index 08a3925..0000000 --- a/project/hair_service_sd/.gitattributes +++ /dev/null @@ -1,3 +0,0 @@ -*.pth filter=lfs diff=lfs merge=lfs -text -*.pt filter=lfs diff=lfs merge=lfs -text -*.ttc filter=lfs diff=lfs merge=lfs -text diff --git a/project/hair_service_sd/core/simsun.ttc b/project/hair_service_sd/core/simsun.ttc deleted file mode 100644 index cd356c7..0000000 --- a/project/hair_service_sd/core/simsun.ttc +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7a368113c36d516aac1a825acc4bbbc9906c4d197f7c649e7fe0f6f31e7475dd -size 10500792