Nymbo commited on
Commit
35e3357
ยท
verified ยท
1 Parent(s): 6c9b75d

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +29 -22
requirements.txt CHANGED
@@ -1,31 +1,38 @@
1
  # main/requirements.txt
2
 
3
- # --- Core ML/DL Libraries ---
4
- torch
5
- torchvision
6
- torchaudio
7
- transformers==4.38.2
8
- diffusers==0.27.2 # Upgraded from 0.25.0
9
- accelerate==0.28.0 # Upgraded from 0.26.1
10
- huggingface_hub # Un-pinning the version to let diffusers choose
11
 
12
- # --- Data & Image Processing ---
13
- numpy==1.26.4
14
- scipy==1.11.4
15
- scikit-image==0.22.0
16
- opencv-python==4.8.0.76
17
- Pillow==10.1.0
 
 
 
 
 
 
 
 
18
 
19
- # --- Utilities & Others ---
20
- matplotlib==3.8.2
21
- tqdm==4.66.1
 
 
22
  einops==0.7.0
23
- omegaconf
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