sup3r.models.utilities

sup3r.models.utilities#

Utilities shared across the sup3r.models module

Functions

get_optimizer_class(conf)

Get optimizer class from keras

st_interp(low, s_enhance, t_enhance[, ...])

Spatiotemporal bilinear interpolation for low resolution field on a regular grid.

Classes

TrainingSession(batch_handler, model, **kwargs)

Wrapper to gracefully exit batch handler thread during training, upon a keyboard interruption.