Classes and methods to help with the creation of geospatial training datasets for deep-learning models.
Project description
How to Install geode-ml
The geode-ml package depends on GDAL for most of its functionality. It is easiest to install GDAL using the conda package manager:
conda create -n "geode_env" python>=3.7
conda activate geode_env
conda install gdal
After activating an environment which has GDAL, use pip to install geode-ml:
pip install geode-ml
The geode-ml Package
This package contains methods and classes to process geospatial imagery into useful training data, particularly for deep-learning applications.
The datasets module
The datasets module currently contains the class:
- SemanticSegmentation
- creates and processes pairs of imagery and label rasters for scenes
The generators module
The generators module currently contains the class:
- TrainingGenerator
- supplies batches of imagery/label pairs for model training
- from_tiles() method reads from generated tile files
- from_source() method (in development) reads from the larger source rasters
The utilities module
The utilities module currently contains functions to process, single examples of geospatial data. The datasets module imports these functions to apply to batches of data; however, this module exists so they they can be used by themselves.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.