DurgaDeepak commited on
Commit
24461a5
·
verified ·
1 Parent(s): a79c4c9

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +21 -19
requirements.txt CHANGED
@@ -1,22 +1,24 @@
1
- # Core Libraries
2
- gradio>=3.50 # Web interface for the application
3
- torch>=2.0 # PyTorch for deep learning models
4
- torchvision>=0.15 # TorchVision for pre-trained models and utilities
5
- ultralytics>=8.0 # YOLO models for object detection
6
- opencv-python>=4.7 # OpenCV for video and image processing
 
 
7
 
8
- # Utility Libraries
9
- numpy>=1.21 # Numerical computations
10
- Pillow>=9.0 # Image processing
11
- requests>=2.28 # HTTP requests for fetching media
12
- timeout-decorator>=0.5.0 # Timeout handling for long-running tasks
13
- tqdm>=4.64 # Progress bars for iterative tasks
14
 
15
- # Hugging Face Support
16
- transformers>=4.30 # Hugging Face Transformers for SegFormer models
17
- sentencepiece # Tokenization for Hugging Face models
18
- huggingface-hub>=0.31.2 # Model hub integration for Hugging Face
19
 
20
- # Data Handling
21
- pandas>=1.3 # Data manipulation and structured data handling
22
- scipy>=1.7 # Scientific computing for advanced numerical
 
 
 
1
+ # === Core Runtime ===
2
+ gradio>=3.50 # Web interface
3
+ torch>=2.0 # Deep learning base
4
+ torchvision>=0.15 # For DeepLabV3 and image utilities
5
+ ultralytics>=8.0 # YOLOv5/v8/11 model loader
6
+ opencv-python>=4.7 # Video/image input/output
7
+ numpy>=1.21 # Array math
8
+ Pillow>=9.0 # Image loading, drawing
9
 
10
+ # === Hugging Face Models ===
11
+ transformers>=4.30 # SegFormer + tokenizer
12
+ huggingface-hub>=0.13.3 # For model downloads via hf_hub_download
13
+ sentencepiece # Required by some HF models and processors
 
 
14
 
15
+ # === Depth Estimation (MiDaS, DPT) ===
16
+ # MiDaS needs scipy and possibly timm depending on config
17
+ scipy>=1.7
18
+ timm>=0.6.12 # For DPT/ViT backbones (needed for some MiDaS/DPT HF models)
19
 
20
+ # === Utility and Execution ===
21
+ requests>=2.28 # For downloading remote media
22
+ timeout-decorator>=0.5.0 # For analysis timeout handling
23
+ tqdm>=4.64 # Progress bar for batch ops
24
+ pandas>=1.3 # Optional: JSON structuring / metrics