# Tested on Python 3.12.0 (Windows 11) on 19 October 2026, CPU only. Python 3.10+ is required. # Install the CPU build of PyTorch first (on Linux the default wheels bundle CUDA and weigh several GB): # pip install torch==2.14.1 torchvision==0.29.1 --index-url https://download.pytorch.org/whl/cpu # then: pip install -r requirements.txt # The SSL4EO-S12 ResNet-18 weights (43 MB) download from Hugging Face on the first run. # The geospatial packages are needed if train_unet.py has to run part 1 to make the chips. torch==2.14.1 torchvision==0.29.1 torchgeo==0.10.1 segmentation-models-pytorch==0.5.0 timm==1.0.30 odc-stac==0.5.3 odc-geo==0.5.3 pystac-client==0.9.0 planetary-computer==1.0.0 overturemaps==1.0.2 rasterio==1.5.2 geopandas==1.2.0 pyogrio==0.13.0 pyarrow==26.0.0 shapely==2.2.0 pyproj==3.8.0 numpy==2.5.2 pandas==3.0.6 scipy==1.18.1 xarray==2026.9.0 dask==2026.8.0 matplotlib==3.11.2