Vara1605454 commited on
Commit
b79adb2
·
verified ·
1 Parent(s): 700cd91

Updated Requirements file

Browse files
Files changed (1) hide show
  1. requirements.txt +39 -19
requirements.txt CHANGED
@@ -1,20 +1,40 @@
1
- torch
2
- torchvision
3
- Pillow
4
- numpy
5
- matplotlib
6
- tqdm
7
- nltk
8
- rouge-score
9
- pycocotools
10
- pycocoevalcap @ git+https://github.com/salaniz/pycocoevalcap.git
11
- flask
12
- flask_sqlalchemy
13
- gunicorn
14
- ultralytics
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
  dlib-bin==19.22.0
16
- face_recognition==1.3.0
17
- Pillow
18
- opencv-python-headless
19
- numpy
20
- werkzeug
 
1
+
2
+ # Core PyTorch (use CPU-only versions for faster install)
3
+ torch==2.0.1+cpu -f https://download.pytorch.org/whl/torch_stable.html
4
+ torchvision==0.15.2+cpu -f https://download.pytorch.org/whl/torch_stable.html
5
+
6
+ # Image processing
7
+ Pillow==9.5.0
8
+ opencv-python-headless==4.8.0.76
9
+
10
+ # Core ML libraries
11
+ numpy==1.24.3
12
+ matplotlib==3.7.1
13
+
14
+ # NLP libraries
15
+ nltk==3.8.1
16
+ rouge-score==0.1.2
17
+
18
+ # COCO evaluation (this is problematic - see alternatives below)
19
+ # pycocotools==2.0.6
20
+ # pycocoevalcap @ git+https://github.com/salaniz/pycocoevalcap.git
21
+
22
+ # Web framework
23
+ flask==2.3.2
24
+ flask-sqlalchemy==3.0.5
25
+ gunicorn==21.2.0
26
+ werkzeug==2.3.6
27
+
28
+ # Object detection
29
+ ultralytics==8.0.120
30
+
31
+ # Face recognition - LIGHTER ALTERNATIVES
32
+ # Option 1: MediaPipe (recommended - much faster)
33
+ mediapipe==0.10.1
34
+
35
+ # Option 2: If you must use dlib-based face recognition
36
+ face-recognition==1.3.0
37
  dlib-bin==19.22.0
38
+
39
+ # Progress tracking
40
+ tqdm==4.65.0