user-7 commited on
Commit
0ca0380
·
verified ·
1 Parent(s): 3c0cf2c

Upload 2 files

Browse files
.gitattributes CHANGED
@@ -48,3 +48,4 @@ wheel/python3.12/torch2.9.0/apex-0.1-py3-none-any.whl filter=lfs diff=lfs merge=
48
  wheel/python3.12/torch2.9.0/vllm/vllm-0.18.0rc3.dev0+g89138b21c.d20260319.cu131-cp312-cp312-linux_x86_64.whl filter=lfs diff=lfs merge=lfs -text
49
  wheel/python3.12/torch2.9.0/vllm/vllm-0.18.0+cu131-cp312-cp312-linux_x86_64.whl filter=lfs diff=lfs merge=lfs -text
50
  wheel/python3.12/torch2.9.0/vllm/vllm-0.18.0+precompiled-cp312-cp312-linux_x86_64.whl filter=lfs diff=lfs merge=lfs -text
 
 
48
  wheel/python3.12/torch2.9.0/vllm/vllm-0.18.0rc3.dev0+g89138b21c.d20260319.cu131-cp312-cp312-linux_x86_64.whl filter=lfs diff=lfs merge=lfs -text
49
  wheel/python3.12/torch2.9.0/vllm/vllm-0.18.0+cu131-cp312-cp312-linux_x86_64.whl filter=lfs diff=lfs merge=lfs -text
50
  wheel/python3.12/torch2.9.0/vllm/vllm-0.18.0+precompiled-cp312-cp312-linux_x86_64.whl filter=lfs diff=lfs merge=lfs -text
51
+ wheel/python3.12/torch2.9.0/facenet-0.1.0-py3-none-any.whl filter=lfs diff=lfs merge=lfs -text
wheel/python3.12/torch2.9.0/facenet-0.1.0-py3-none-any.whl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bcbaeebc479bbac6fcebf738c1e0919ddfac256013f8cc3ae7f688cf25caa361
3
+ size 1879268
wheel/python3.12/torch2.9.0/facenet_pytorch.md ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # == 安装的这个分支把包名改成了 `facenet` ==
2
+
3
+ ---
4
+
5
+ # 在 Python 库里创建一个“别名”,让 `facenet_pytorch` 指向你安装的 `facenet`。
6
+
7
+ ## 步骤 1:找到 site-packages 目录
8
+ ```bash
9
+ python -c "import site; print(site.getsitepackages()[0])"
10
+ ```
11
+ 输出类似 `/home/mwh/miniconda3/envs/comfyui/lib/python3.12/site-packages` 的路径。
12
+
13
+ ## 步骤 2:创建别名包
14
+ 进入那个目录,创建一个 `facenet_pytorch` 文件夹,并在里面建一个 `__init__.py`:
15
+ ```bash
16
+ # 把下面的路径替换成步骤1输出的路径
17
+ cd /home/mwh/miniconda3/envs/comfyui/lib/python3.12/site-packages
18
+ ```
19
+ # 创建 facenet_pytorch 目录
20
+ ```bash
21
+ mkdir -p facenet_pytorch
22
+ ```
23
+ # 创建 __init__.py,把所有导入转发给 facenet
24
+ ```python
25
+ from facenet import *
26
+ from facenet.models import *
27
+ from facenet.models.mtcnn import MTCNN
28
+ from facenet.models.inception_resnet_v1 import InceptionResnetV1
29
+ ```
30
+
31
+ ---
32
+
33
+ # 验证
34
+ ```bash
35
+ python -c "from facenet_pytorch import MTCNN, InceptionResnetV1; print('导入成功!')"
36
+ ```