Skip to main content

Classes and methods to help with the creation of geospatial training datasets and deep-learning models.

Project description

How to install geode-ml

The geode-ml package depends on GDAL and Tensorflow 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

However, installing Tensorflow with Conda is trickier; we recommend following official documentation for installing the cuDNN and CUDA Toolkit libraries with the conda package manager (if you have a compatible GPU), and then doing

pip install tensorflow-gpu

on a Windows machine, or

pip install tensorflow

on a Linux machine. After activating an environment which has both GDAL and Tensorflow, use pip to install geode-ml:

pip install geode-ml

The geode.datasets module

The datasets module currently contains the classes:

  1. SemanticSegmentation
    • creates and processes pairs of imagery and label rasters for scenes

The geode.losses module

The losses module contains custom loss functions for model training; these may be removed in the future when implementations are added to Keras.

The geode.metrics module

The metrics module contains useful metrics for testing model performance.

The geode.models module

The models module contains the classes:

  1. SegmentationModel
    • A class which contains methods to compute metrics on test datasets,
  2. Unet
    • a subclass of the SegmentationModel class which instantiates a Unet architecture.
  3. VGG19UNet
    • a subclass of the SegmentationModel class which instantiates a Unet architecture, but which mirrors the VGG19 architecture for its downsampling and upsampling paths.

The geode.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 that methods can be used by themselves, without instantiating a class object from another module.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

geode-ml-2.3.8.tar.gz (16.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

geode_ml-2.3.8-py3-none-any.whl (17.4 kB view details)

Uploaded Python 3

File details

Details for the file geode-ml-2.3.8.tar.gz.

File metadata

  • Download URL: geode-ml-2.3.8.tar.gz
  • Upload date:
  • Size: 16.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.0

File hashes

Hashes for geode-ml-2.3.8.tar.gz
Algorithm Hash digest
SHA256 baefc2d7093ea4e49e8ab554bb9c43b444fb7594d12339c75acf548d54e006bb
MD5 483d6445fc030473f7f87d64431eaf62
BLAKE2b-256 3a2cca640a6547b14204e192c3077d6b88c34d8db2993225b1e367b57bacc95e

See more details on using hashes here.

File details

Details for the file geode_ml-2.3.8-py3-none-any.whl.

File metadata

  • Download URL: geode_ml-2.3.8-py3-none-any.whl
  • Upload date:
  • Size: 17.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.0

File hashes

Hashes for geode_ml-2.3.8-py3-none-any.whl
Algorithm Hash digest
SHA256 75c7026c2970bd9b7c580988ea11767396d14daa4584bd2f119118d56984c9fa
MD5 17dbca1466ebdf329ca299ba2549cb22
BLAKE2b-256 64dc9332240a1bd55e0f8773384fed36e248389ebb2fd6618b3b49c712e30bc5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page