KumaPower commited on
Commit
67e34f4
·
verified ·
1 Parent(s): 75fa2a1

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +28 -16
requirements.txt CHANGED
@@ -1,4 +1,8 @@
1
- # Other Python dependencies
 
 
 
 
2
  scipy==1.13.1
3
  scikit-image==0.21.0
4
  scikit-learn==1.2.2
@@ -9,35 +13,43 @@ PyYAML==6.0.2
9
  tqdm==4.67.1
10
  absl-py==2.1.0
11
  tensorboard==2.17.0
12
- PyOpenGL==3.1.0
13
- pyrender==0.1.45
14
- trimesh==3.22.0
15
  click==8.1.7
16
  omegaconf==2.2.3
17
- segmentation_models_pytorch
18
- timm==1.0.15
19
  psutil==5.9.5
20
  lmdb==1.4.1
21
- einops==0.8.1
22
- kornia==0.6.7
23
  gdown==5.2.0
24
  plyfile==1.0.3
25
  natsort
26
- mmcv==1.7.0
27
- xformers==0.0.28
28
  matplotlib==3.9.1.post1
 
 
 
 
 
 
 
 
 
 
29
  mediapipe==0.10.5
30
- numpy==1.23.5
31
  open-clip-torch
32
- imageio_ffmpeg
33
- spaces
34
  transformers==4.41.2
35
  diffusers==0.29.2
36
- # Install torch & torchvision from specific CUDA-enabled wheels (CUDA 12.1, Python 3.10)
 
 
 
 
 
 
 
37
  https://download.pytorch.org/whl/cu121/torch-2.4.1%2Bcu121-cp310-cp310-linux_x86_64.whl
38
  https://download.pytorch.org/whl/cu121/torchvision-0.19.1%2Bcu121-cp310-cp310-linux_x86_64.whl
39
 
40
- # PyTorch3D from custom index
41
  -f https://dl.fbaipublicfiles.com/pytorch3d/packaging/wheels/py310_cu121_pyt241/download.html
42
  pytorch3d
43
- ninja
 
 
 
 
1
+ # 1. 降级 setuptools 解决编译环境问题
2
+ setuptools<=69.5.1
3
+
4
+ # 2. 基础依赖库
5
+ numpy==1.23.5
6
  scipy==1.13.1
7
  scikit-image==0.21.0
8
  scikit-learn==1.2.2
 
13
  tqdm==4.67.1
14
  absl-py==2.1.0
15
  tensorboard==2.17.0
 
 
 
16
  click==8.1.7
17
  omegaconf==2.2.3
 
 
18
  psutil==5.9.5
19
  lmdb==1.4.1
 
 
20
  gdown==5.2.0
21
  plyfile==1.0.3
22
  natsort
 
 
23
  matplotlib==3.9.1.post1
24
+ imageio_ffmpeg
25
+
26
+ # 3. 三维与多模态通用工具(不强依赖 C++ 框架层的)
27
+ PyOpenGL==3.1.0
28
+ pyrender==0.1.45
29
+ trimesh==3.22.0
30
+ segmentation_models_pytorch
31
+ timm==1.0.15
32
+ einops==0.8.1
33
+ kornia==0.6.7
34
  mediapipe==0.10.5
 
35
  open-clip-torch
 
 
36
  transformers==4.41.2
37
  diffusers==0.29.2
38
+ spaces
39
+
40
+ # =========================================================
41
+ # 4. 后置安装区域:核心框架、编译工具及强依赖框架的扩展库
42
+ # =========================================================
43
+ ninja
44
+
45
+ # PyTorch 核心与全家桶
46
  https://download.pytorch.org/whl/cu121/torch-2.4.1%2Bcu121-cp310-cp310-linux_x86_64.whl
47
  https://download.pytorch.org/whl/cu121/torchvision-0.19.1%2Bcu121-cp310-cp310-linux_x86_64.whl
48
 
49
+ # PyTorch3D 官方预编译包
50
  -f https://dl.fbaipublicfiles.com/pytorch3d/packaging/wheels/py310_cu121_pyt241/download.html
51
  pytorch3d
52
+
53
+ # 依赖 PyTorch 2.4.1 且需要动态编译的扩展库
54
+ xformers==0.0.28
55
+ mmcv==1.7.0