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

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 class:

  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 implemented in Tensorflow.

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. Segmentation
    • subclass of the tensorflow.keras.Model class to be used for image segmentation
  2. Unet
    • subclass of the Segmentation class which instantiates a Unet architecture.

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.2.0.tar.gz (15.7 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.2.0-py3-none-any.whl (16.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: geode-ml-2.2.0.tar.gz
  • Upload date:
  • Size: 15.7 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.2.0.tar.gz
Algorithm Hash digest
SHA256 0373acfed8b98c6db9ce2036e702c0ed5097dc96ff40ebe37256679954b0632f
MD5 0fbaf63c8b2ae1e1fb6753a01d62bc74
BLAKE2b-256 00c39776f59e5bb0f7b634e7d963fa5c66e89345b9934b1a7f7dc478962015d2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: geode_ml-2.2.0-py3-none-any.whl
  • Upload date:
  • Size: 16.3 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3af38469de9b056534c100d7c8cc22e5a0127255a183b8a5a0e4828213b05410
MD5 e9cbdc443dac75e8ef19c880647a8071
BLAKE2b-256 29abc7640403dba7b233d2e64d444072b09e90350d43abc828a699556d1a1f27

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