Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 656 Bytes

File metadata and controls

28 lines (20 loc) · 656 Bytes

DeepLens Conda Environment Setup Guide

Prerequisites: Anaconda/Miniconda, Git

# 1. Clone repository
git clone git@github.com:singer-yang/DeepLens.git  # or use HTTPS
cd DeepLens

# 2. Create and activate conda environment with PyTorch
conda create -n deeplens python=3.10 pytorch torchvision torchaudio -c pytorch
conda activate deeplens

# 3. Upgrade build tools
pip install --upgrade setuptools packaging pip

# 4. Install DeepLens package
pip install -e .

# 5. Install Jupyter Notebook
pip install jupyter notebook

# 6. Verify installation
python -c "from deeplens import GeoLens; print('Success!')"

# 7. Return to tutorials
cd ..