Spaces:
Runtime error
Runtime error
Update requirements.txt
Browse files- requirements.txt +4 -6
requirements.txt
CHANGED
@@ -1,7 +1,6 @@
|
|
1 |
# main/requirements.txt
|
2 |
|
3 |
# --- Core Dependencies for the IDM-VTON Model ---
|
4 |
-
# Pinning versions that are known to be stable together
|
5 |
torch==2.1.2
|
6 |
torchvision==0.16.2
|
7 |
transformers==4.36.2
|
@@ -10,19 +9,18 @@ accelerate==0.26.1
|
|
10 |
huggingface_hub==0.20.3
|
11 |
|
12 |
# --- Dependencies for DensePose & Detectron2 ---
|
13 |
-
# These are required by the local detectron2/densepose libraries
|
14 |
fvcore
|
15 |
pyyaml==5.1
|
16 |
-
# This
|
17 |
-
|
18 |
-
-e
|
19 |
|
20 |
# --- Image and Data Processing Libraries ---
|
21 |
numpy==1.24.4
|
22 |
Pillow==9.4.0
|
23 |
scikit-image==0.21.0
|
24 |
opencv-python==4.7.0.72
|
25 |
-
scipy==1.
|
26 |
|
27 |
# --- Other Utilities ---
|
28 |
gradio
|
|
|
1 |
# main/requirements.txt
|
2 |
|
3 |
# --- Core Dependencies for the IDM-VTON Model ---
|
|
|
4 |
torch==2.1.2
|
5 |
torchvision==0.16.2
|
6 |
transformers==4.36.2
|
|
|
9 |
huggingface_hub==0.20.3
|
10 |
|
11 |
# --- Dependencies for DensePose & Detectron2 ---
|
|
|
12 |
fvcore
|
13 |
pyyaml==5.1
|
14 |
+
# This tells pip to install the local packages located in these directories.
|
15 |
+
-e ./detectron2
|
16 |
+
-e ./densepose
|
17 |
|
18 |
# --- Image and Data Processing Libraries ---
|
19 |
numpy==1.24.4
|
20 |
Pillow==9.4.0
|
21 |
scikit-image==0.21.0
|
22 |
opencv-python==4.7.0.72
|
23 |
+
scipy==1.1.0
|
24 |
|
25 |
# --- Other Utilities ---
|
26 |
gradio
|