Spaces:
Runtime error
Runtime error
Update requirements.txt
Browse files- requirements.txt +29 -22
requirements.txt
CHANGED
@@ -1,31 +1,38 @@
|
|
1 |
# main/requirements.txt
|
2 |
|
3 |
-
# --- Core
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
transformers==4.
|
8 |
-
diffusers==0.
|
9 |
-
accelerate==0.
|
10 |
-
huggingface_hub
|
11 |
|
12 |
-
# ---
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
|
19 |
-
# --- Utilities
|
20 |
-
|
21 |
-
|
|
|
|
|
22 |
einops==0.7.0
|
23 |
-
|
24 |
-
# The following probably don't need version pins
|
25 |
-
config
|
26 |
-
onnxruntime
|
27 |
basicsr
|
28 |
av
|
29 |
-
fvcore
|
30 |
cloudpickle
|
|
|
31 |
pycocotools
|
|
|
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
|
8 |
+
diffusers==0.25.0
|
9 |
+
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 command tells pip to install the 'detectron2' library from the local directory.
|
17 |
+
# The '-e' flag installs it in "editable" mode, which is standard for local packages.
|
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.10.1
|
26 |
|
27 |
+
# --- Other Utilities ---
|
28 |
+
gradio
|
29 |
+
matplotlib==3.7.4
|
30 |
+
tqdm==4.64.1
|
31 |
+
config==0.5.1
|
32 |
einops==0.7.0
|
33 |
+
onnxruntime==1.16.2
|
|
|
|
|
|
|
34 |
basicsr
|
35 |
av
|
|
|
36 |
cloudpickle
|
37 |
+
omegaconf
|
38 |
pycocotools
|