MogensR commited on
Commit
e15371a
·
verified ·
1 Parent(s): 7cc0250

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +10 -14
requirements.txt CHANGED
@@ -8,11 +8,12 @@
8
  --extra-index-url https://download.pytorch.org/whl/cu121
9
 
10
  # --- PyTorch (Must be first) ---
11
- torch==2.3.1
12
- torchvision==0.18.1
13
 
14
- # --- Core ---
15
  numpy>=1.24.4
 
16
  Pillow==10.0.0
17
  protobuf==3.20.3
18
 
@@ -27,7 +28,6 @@ scikit-image==0.19.3
27
  # --- SAM2 Dependencies ---
28
  hydra-core==1.3.2
29
  omegaconf==2.3.0
30
- einops==0.6.0
31
  timm==0.9.0
32
  pyyaml==6.0.0
33
  matplotlib==3.5.0
@@ -36,10 +36,13 @@ iopath==0.1.10
36
  # --- SAM2 Installation ---
37
  git+https://github.com/facebookresearch/segment-anything-2.git
38
 
39
- # --- MatAnyone Dependencies ---
 
40
  kornia==0.7.2
41
  tqdm==4.66.1
42
  scipy==1.10.1
 
 
43
 
44
  # --- MatAnyone Installation ---
45
  git+https://github.com/pq-yang/MatAnyone.git
@@ -47,7 +50,7 @@ git+https://github.com/pq-yang/MatAnyone.git
47
  # --- Streamlit UI ---
48
  streamlit==1.32.0
49
 
50
- # --- Web stack (for potential API extensions) ---
51
  fastapi==0.104.0
52
  uvicorn==0.24.0
53
 
@@ -57,19 +60,12 @@ pydantic-core==2.16.1
57
  annotated-types==0.6.0
58
  typing-extensions==4.8.0
59
 
60
- # --- Helpers / Utilities ---
61
- huggingface-hub==0.20.0
62
  ffmpeg-python==0.2.0
63
  psutil==5.9.4
64
  requests==2.31.0
65
  scikit-learn==1.3.0
66
  loguru==0.6.0
67
  python-multipart==0.0.5
68
-
69
- # --- Additional for SAM2 + MatAnyone ---
70
- transformers==4.30.0
71
- accelerate==0.20.0
72
  ninja==1.10.0
73
-
74
- # --- For better file handling ---
75
  aiofiles==23.1.0
 
8
  --extra-index-url https://download.pytorch.org/whl/cu121
9
 
10
  # --- PyTorch (Must be first) ---
11
+ torch==2.5.1
12
+ torchvision==0.20.1
13
 
14
+ # --- Core deps (before models) ---
15
  numpy>=1.24.4
16
+ einops==0.6.0
17
  Pillow==10.0.0
18
  protobuf==3.20.3
19
 
 
28
  # --- SAM2 Dependencies ---
29
  hydra-core==1.3.2
30
  omegaconf==2.3.0
 
31
  timm==0.9.0
32
  pyyaml==6.0.0
33
  matplotlib==3.5.0
 
36
  # --- SAM2 Installation ---
37
  git+https://github.com/facebookresearch/segment-anything-2.git
38
 
39
+ # --- MatAnyone Dependencies (BEFORE MatAnyone) ---
40
+ huggingface-hub==0.20.0
41
  kornia==0.7.2
42
  tqdm==4.66.1
43
  scipy==1.10.1
44
+ transformers==4.30.0
45
+ accelerate==0.20.0
46
 
47
  # --- MatAnyone Installation ---
48
  git+https://github.com/pq-yang/MatAnyone.git
 
50
  # --- Streamlit UI ---
51
  streamlit==1.32.0
52
 
53
+ # --- Web stack ---
54
  fastapi==0.104.0
55
  uvicorn==0.24.0
56
 
 
60
  annotated-types==0.6.0
61
  typing-extensions==4.8.0
62
 
63
+ # --- Utilities ---
 
64
  ffmpeg-python==0.2.0
65
  psutil==5.9.4
66
  requests==2.31.0
67
  scikit-learn==1.3.0
68
  loguru==0.6.0
69
  python-multipart==0.0.5
 
 
 
 
70
  ninja==1.10.0
 
 
71
  aiofiles==23.1.0