Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions Updating_the_DeepLense_Pipeline__Saranga_K_Mahanta/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,24 @@ Activate virtual environment and install the necessary packages from the provide
pip install -r requirements.txt
```

## Dependency Compatibility Notice (2026 Update)

The original `requirements.txt` pinned several outdated package versions
(e.g. `numpy==1.21.6`, `pandas==1.3.5`, `torch==1.12.0`) which are
incompatible with Python 3.11+ and modern environments.

The dependency list has been modernized to:

- Remove strict version pinning
- Improve compatibility with Python 3.11+
- Remove CUDA-specific wheel constraints
- Improve cross-platform installation reliability

If you encounter installation issues, ensure you are using:

Python >= 3.10


### Model weights

Download all model weights from [here](https://mega.nz/folder/SHZ0CLKQ#gQtyY9Yx9CuwWUEH_pbu8w).
Expand Down
57 changes: 19 additions & 38 deletions Updating_the_DeepLense_Pipeline__Saranga_K_Mahanta/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,38 +1,19 @@
albumentations==1.2.1
certifi==2022.6.15
charset-normalizer==2.1.0
colorama==0.4.5
cycler==0.11.0
fonttools==4.34.4
idna==3.3
imageio==2.19.5
joblib==1.1.0
kiwisolver==1.4.4
matplotlib==3.5.2
networkx==2.6.3
numpy==1.21.6
opencv-python-headless==4.6.0.66
packaging==21.3
pandas==1.3.5
Pillow==9.2.0
pyparsing==3.0.9
python-dateutil==2.8.2
pytz==2022.1
PyWavelets==1.3.0
PyYAML==6.0
qudida==0.0.4
requests==2.28.1
scikit-image==0.19.3
scikit-learn==1.0.2
scipy==1.7.3
seaborn==0.11.2
six==1.16.0
threadpoolctl==3.1.0
tifffile==2021.11.2
timm==0.6.5
torch==1.12.0
torchaudio==0.12.0+cu116
torchvision==0.13.0
tqdm==4.64.0
typing-extensions==4.3.0
urllib3==1.26.10
# Core scientific stack
numpy>=1.23
pandas>=2.0
scipy>=1.11
scikit-learn>=1.3
matplotlib>=3.8
seaborn>=0.13
tqdm>=4.66

# Vision / ML utilities
opencv-python-headless>=4.8
albumentations>=1.3
timm>=0.9

# Deep Learning (CPU-friendly by default)
torch>=2.1
torchvision>=0.16
torchaudio>=2.1