MogensR commited on
Commit
f05e4da
·
1 Parent(s): bdd5765

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +78 -49
requirements.txt CHANGED
@@ -1,55 +1,84 @@
1
- # Core Dependencies (pinned for stability)
2
- numpy>=1.24.3,<1.25
3
- Pillow==10.0.1
4
- tqdm==4.66.1
 
 
 
 
5
 
6
- # Web & UI
 
 
7
  gradio==4.44.1
8
- gradio_client==1.3.0 # Added to match gradio version for schema patch
9
 
10
- # Core AI and ML (compatible with Hugging Face Spaces CUDA 12.3)
11
- torch>=2.0.1
12
- torchvision>=0.15.2
13
- torchaudio>=0.0.2
14
- transformers==4.30.2
15
- huggingface_hub>=0.19.3
16
- accelerate==0.20.3
17
 
18
- # Image and Video Processing
 
 
 
 
 
 
 
 
 
 
 
 
19
  opencv-python-headless==4.8.0.76
20
- moviepy==1.0.3
21
- imageio-ffmpeg==0.4.8
22
- ffmpeg-python==0.2.0
23
- imageio==2.25.0 # Added for MatAnyone compatibility
24
-
25
- # Model Dependencies
26
- einops==0.7.0
27
- safetensors==0.3.3
28
- timm==0.9.5
29
- av>=0.5.2 # Added for MatAnyone
30
- cchardet>=2.1.7 # Added for MatAnyone
31
- cython # Added for MatAnyone
32
- easydict # Added for MatAnyone
33
- gdown>=4.7.1 # Added for MatAnyone
34
- gitpython>=3.1 # Added for MatAnyone
35
- hickle>=5.0 # Added for MatAnyone
36
- netifaces>=0.11.0 # Added for MatAnyone
37
- pycocotools>=2.0.7 # Added for MatAnyone
38
- tensorboard>=2.11 # Added for MatAnyone
39
- git+https://github.com/cheind/py-thin-plate-spline@f6995795397118b7d0ac01aecd3f39ffbfad9dee # Added for MatAnyone
40
-
41
- # Configuration
42
- hydra-core==1.3.2
43
- omegaconf==2.3.0
44
-
45
- # Utilities
46
- diskcache==5.6.3
47
- scipy==1.10.1
48
- typing-extensions>=4.12.2,<5
49
- setuptools==65.7.0
50
- wheel==0.40.0
51
- psutil>=5.9.0
52
-
53
- # Git Dependencies (pinned to specific commits for stability)
 
 
 
 
 
 
54
  git+https://github.com/facebookresearch/segment-anything-2.git@2b90b9f5ceec907a1c18123530e92e794ad901a4
55
- git+https://github.com/pq-yang/MatAnyone.git@2234ce5cdc487749515518bd035b5e18bccea3da
 
 
 
 
 
 
1
+ # ============================================================================
2
+ # CORE PYTHON DEPENDENCIES
3
+ # ============================================================================
4
+ numpy>=1.24.3,<1.26
5
+ Pillow>=10.0.1,<11.0
6
+ setuptools>=65.7.0,<69.0
7
+ wheel>=0.40.0,<1.0
8
+ typing-extensions>=4.12.2,<5.0
9
 
10
+ # ============================================================================
11
+ # WEB FRAMEWORK & UI
12
+ # ============================================================================
13
  gradio==4.44.1
14
+ gradio_client==1.3.0
15
 
16
+ # ============================================================================
17
+ # DEEP LEARNING & AI MODELS
18
+ # ============================================================================
19
+ # PyTorch ecosystem (CUDA 12.1 compatible)
20
+ torch>=2.0.1,<2.4
21
+ torchvision>=0.15.2,<0.19
22
+ torchaudio>=2.0.1,<2.4
23
 
24
+ # Hugging Face ecosystem
25
+ transformers>=4.30.2,<5.0
26
+ huggingface_hub>=0.19.3,<1.0
27
+ accelerate>=0.20.3,<1.0
28
+ safetensors>=0.3.3,<1.0
29
+
30
+ # Model utilities
31
+ einops>=0.7.0,<1.0
32
+ timm>=0.9.5,<1.0
33
+
34
+ # ============================================================================
35
+ # COMPUTER VISION & VIDEO PROCESSING
36
+ # ============================================================================
37
  opencv-python-headless==4.8.0.76
38
+
39
+ # Video processing
40
+ moviepy>=1.0.3,<2.0
41
+ imageio>=2.25.0,<3.0
42
+ imageio-ffmpeg>=0.4.8,<1.0
43
+ ffmpeg-python>=0.2.0,<1.0
44
+ av>=0.5.2,<1.0
45
+
46
+ # ============================================================================
47
+ # SCIENTIFIC COMPUTING
48
+ # ============================================================================
49
+ scipy>=1.10.1,<2.0
50
+ tqdm>=4.66.1,<5.0
51
+
52
+ # ============================================================================
53
+ # CONFIGURATION & UTILITIES
54
+ # ============================================================================
55
+ hydra-core>=1.3.2,<2.0
56
+ omegaconf>=2.3.0,<3.0
57
+ diskcache>=5.6.3,<6.0
58
+ psutil>=5.9.0,<6.0
59
+
60
+ # ============================================================================
61
+ # MATANYONE DEPENDENCIES
62
+ # ============================================================================
63
+ # Core dependencies for MatAnyone
64
+ cchardet>=2.1.7
65
+ cython
66
+ easydict
67
+ gdown>=4.7.1
68
+ gitpython>=3.1
69
+ hickle>=5.0
70
+ netifaces>=0.11.0
71
+ pycocotools>=2.0.7
72
+ tensorboard>=2.11
73
+
74
+ # ============================================================================
75
+ # GIT DEPENDENCIES (Model Repositories)
76
+ # ============================================================================
77
+ # SAM2 - Segment Anything 2
78
  git+https://github.com/facebookresearch/segment-anything-2.git@2b90b9f5ceec907a1c18123530e92e794ad901a4
79
+
80
+ # MatAnyone - High-quality matting
81
+ git+https://github.com/pq-yang/MatAnyone.git@2234ce5cdc487749515518bd035b5e18bccea3da
82
+
83
+ # Thin Plate Spline (MatAnyone dependency)
84
+ git+https://github.com/cheind/py-thin-plate-spline@f6995795397118b7d0ac01aecd3f39ffbfad9dee