deserialize_albumentation_transform#

deserialize_albumentation_transform(tf_dict: dict) BasicTransform[source]#

Deserialize an albumentations transform serialized by serialize_albumentation_transform().

If the input dict contains a lambda_transforms_path, the lambda_transforms dict is dynamically imported from it and passed to A.from_dict(). See https://albumentations.ai/docs/examples/serialization/ for details

Parameters:

tf_dict (dict) – Serialized albumentations transform.

Returns:

Deserialized transform.

Return type:

A.BasicTransform