Skip to content

Commit

Permalink
Aug test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
VukW committed Jul 1, 2024
1 parent b423f64 commit c312e24
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion GANDLF/data/augmentation/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,12 @@ def get_augmentation_transforms(

if augmentation_type_lower in global_augs_dict:
current_augmentations.append(
global_augs_dict[augmentation_type_lower](**augmentation_params)
global_augs_dict[augmentation_type_lower](augmentation_params)
)
else:
warn(
f"Augmentation {augmentation_type} not found in the global augmentation dictionary.",
UserWarning,
)

return current_augmentations

0 comments on commit c312e24

Please sign in to comment.