sup3r.models.utilities

sup3r.models.utilities#

Utilities shared across the sup3r.models module

Functions

get_optimizer_class(conf)

Get optimizer class from keras

get_sup3r_layers()

Get all classes from phygnn.layers.custom_layers whose names start with 'Sup3r'.

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

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

Classes

TensorboardMixIn()

MixIn class for tensorboard logging and profiling.

TrainingSession(batch_handler, model, **kwargs)

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