-
Notifications
You must be signed in to change notification settings - Fork 236
Open
Description
I'm not sure the way I should list augmentations in the new structures.
m.config["train"]["augmentations"] = [
{"RandomResizedCrop": {"size": (800, 800), "scale": (0.5, 1.0), "p": 0.3}},
{"Rotate": {"degrees": 15, "p": 0.5}},
{"HorizontalFlip": {"p": 0.5}},
{"VerticalFlip": {"p": 0.3}},
{"RandomBrightnessContrast": {"brightness": 0.2, "contrast": 0.2, "p": 0.5}},
{"HueSaturationValue": {"hue": 0.1, "saturation": 0.1, "p": 0.3}},
{"ZoomBlur": {"max_factor": (1.0, 1.03), "step_factor": (0.01, 0.02), "p": 0.3}},
]
but that yields.
omegaconf.errors.ValidationError: Cannot convert 'dict' to string: '{'RandomResizedCrop': {'size': (800, 800), 'scale': (0.5, 1.0), 'p': 0.3}}'
full_key: train.augmentations[0]
reference_type=Optional[List[str]]
object_type=list
Metadata
Metadata
Assignees
Labels
No labels