Skip to main content

Keras training management utilities.

Project description

Keras utilities (Kuti)

The project contains utilities for image assessment development with Keras/Tensorflow, including utilities for model training, custom generators, image management and augmentation. This is a poetry package for ku.

The library requires tensorflow >= 1.14 or 2.x installed.

$ pip install kuti

Overview

Some of the key components of each file:

model_helper.py:

  • ModelHelper: Wrapper class that simplifies default usage of Keras for regression models.

generators.py:

  • DataGeneratorDisk, DataGeneratorHDF5: Keras generators for on-disk images, and HDF5 stored features/images

image_utils.py:

  • various utility functions for manipulating images (read, write to HDF5, batch resize, view batch)

image_augmenter.py:

  • ImageAugmenter: Create custom image augmentation functions for training Keras models.

generic.py:

  • H5Helper: Manage named data sets in HDF5 files, for us in Keras generators.
  • ShortNameBuilder: Utility for building short (file) names that contain multiple parameters.

applications.py:

  • model_inception_multigap, model_inceptionresnet_multigap: Model definitions for extracting MLSP narrow features
  • model_inception_pooled, model_inceptionresnet_pooled: Model definitions for extracting MLSP wide features

You can find more information in the docstrings.

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

kuti-0.9.8.1.tar.gz (32.9 kB view hashes)

Uploaded Source

Built Distribution

kuti-0.9.8.1-py3-none-any.whl (35.6 kB view hashes)

Uploaded Python 3

Supported by

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