ggt.modules.autocrop

Module Contents

Functions

main(model_type, model_path, cutout_size, channels, ...)

Using the spatial transformer layer of the model defined in model_path,

Attributes

log_fmt

ggt.modules.autocrop.main(model_type, model_path, cutout_size, channels, n_pred, image_dir, out_dir, normalize, transform, repeat_dims, parallel, cov_errors, errors)

Using the spatial transformer layer of the model defined in model_path, write cropped versions of each image in image_dir back to disk.

ggt.modules.autocrop.log_fmt = '%(asctime)s - %(name)s - %(levelname)s - %(message)s'