Skip to content
Discussion options

You must be logged in to vote

Hi, custom augmentations can be added to a training pipeline by providing the path to an albumentations config file in the dataset.transform_config section of the config.yaml. A different set of transforms/augmentations may be provided for the training and evaluation dataloaders. This page of the albumentations documentation explains how to create a .yaml file.

Please note that there are a few mandatory transforms that you will always have to add to your custom transforms file. First of all, the Resize and ToTensorV2 transforms are always required, because these make sure that the images are passed to the model in the right format. In addition, for most models it is needed to normalize to…

Replies: 4 comments 5 replies

Comment options

You must be logged in to vote
2 replies
@monkeycc
Comment options

@djdameln
Comment options

Answer selected by djdameln
Comment options

You must be logged in to vote
1 reply
@samet-akcay
Comment options

Comment options

You must be logged in to vote
2 replies
@lekshmijk
Comment options

@monkeycc
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants