wsinfer.modellib.transforms#

PyTorch image classification transform.

Functions#

make_compose_from_transform_config(...)

Create a torchvision Compose instance from configuration of transforms.

Module Contents#

wsinfer.modellib.transforms.make_compose_from_transform_config(list_of_transforms: list[wsinfer_zoo.client.TransformConfigurationItem]) torchvision.transforms.Compose[source]#

Create a torchvision Compose instance from configuration of transforms.