Installation Guide
Complete installation guide for IGN LiDAR HD Processing Library. Get up and running in minutes with our step-by-step instructions.
π Requirementsβ
- Python 3.8+ (Python 3.9-3.11 recommended)
- pip package manager
- Operating System: Windows, Linux, or macOS
Check Python Version
python --version # Should show Python 3.8 or higher
π Standard Installationβ
Via PyPI (Recommended)β
pip install ign-lidar-hd
Verify Installationβ
# Check version
ign-lidar-hd --version
# Test CLI
ign-lidar-hd --help
Installation Optionsβ
# Standard installation (CPU only)
pip install ign-lidar-hd
# With RGB augmentation support
pip install ign-lidar-hd[rgb]
# With all features (excluding GPU)
pip install ign-lidar-hd[all]
β‘ GPU Acceleration (Optional)β
Performance Boost: 5-10x faster feature computation
Prerequisitesβ
- NVIDIA GPU with CUDA support
- CUDA Toolkit 11.0+ installed
- GPU Memory: 4GB+ recommended
Verify GPU setup:
nvidia-smi # Should display GPU information
Install GPU Supportβ
# Install base package first
pip install ign-lidar-hd
# Then add CuPy for your CUDA version
pip install cupy-cuda11x # For CUDA 11.x
# OR
pip install cupy-cuda12x # For CUDA 12.x
Advanced GPU (RAPIDS cuML)β
For maximum performance:
# Using conda (recommended for RAPIDS)
conda create -n ign-lidar python=3.10
conda activate ign-lidar
pip install ign-lidar-hd
conda install -c rapidsai -c conda-forge -c nvidia cuml
π§ Development Installationβ
From Sourceβ
git clone https://github.com/sducournau/IGN_LIDAR_HD_DATASET.git
cd IGN_LIDAR_HD_DATASET
pip install -e .
With Development Dependenciesβ
pip install -e .[dev,test,docs]
π Virtual Environmentsβ
Using venv (Built-in)β
python -m venv ign-lidar-env
source ign-lidar-env/bin/activate # Linux/macOS
# or
ign-lidar-env\Scripts\activate # Windows
pip install ign-lidar-hd
Using condaβ
conda create -n ign-lidar python=3.10
conda activate ign-lidar
pip install ign-lidar-hd
β Verify Installationβ
Basic Verificationβ
# Test Python imports
import ign_lidar
print(f"IGN LiDAR HD version: {ign_lidar.__version__}")
# Test main classes
from ign_lidar import LiDARProcessor, IGNLiDARDownloader
print("β Installation successful!")
GPU Verificationβ
# Check GPU availability
from ign_lidar.features_gpu import GPU_AVAILABLE, CUML_AVAILABLE
print(f"GPU (CuPy) available: {GPU_AVAILABLE}")
print(f"RAPIDS cuML available: {CUML_AVAILABLE}")
if GPU_AVAILABLE:
print("β GPU acceleration enabled!")
else:
print("β οΈ GPU not detected - using CPU")
π§ Troubleshootingβ
Command Not Foundβ
# If ign-lidar-hd command is not found, try:
python -m ign_lidar.cli --help
Import Errorsβ
# Reinstall in development mode
pip install -e .
# Check Python path
python -c "import sys; print('\n'.join(sys.path))"
GPU Issuesβ
# Test CUDA availability
python -c "import cupy; print('CUDA works!')"
# Check CUDA version
nvcc --version
π Next Stepsβ
Now that you're installed:
- π Follow the Quick Start Guide
- π₯οΈ Try Basic Usage Examples
- β‘ Configure GPU acceleration (if available)
- π Explore Pipeline Configuration
π‘ Need Help?β
- π Read the Complete Documentation
- π Report issues on GitHub Issues
- π¬ Browse Examples