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.3.tar.gz (16.6 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.3-py3-none-any.whl (17.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: geode-ml-2.3.3.tar.gz
  • Upload date:
  • Size: 16.6 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.3.tar.gz
Algorithm Hash digest
SHA256 c905147ef47698b737471981bd29bb72caeed17174c4ba92c081f6c327347add
MD5 36bf0c856cd1221c2c15ffb3ba2cfd92
BLAKE2b-256 d0f2d3bf560ee568743172c8e33ae2465c46bcda2ca55b85bb1388e9ce5eba30

See more details on using hashes here.

File details

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

File metadata

  • Download URL: geode_ml-2.3.3-py3-none-any.whl
  • Upload date:
  • Size: 17.2 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e7890c080f117ab6ba9e648aa272543a002d4de00bf47f44b0f1003bd8f7f4d4
MD5 eb9294c0f7ab0dece749d3eba579e2bd
BLAKE2b-256 4e8bd7a2086281999ed445b8ed210ff9f4496dfd1e42568649b760ba367dace5

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