Skip to content

Commit

Permalink
updates elastic
Browse files Browse the repository at this point in the history
  • Loading branch information
ternaus committed Jan 7, 2025
1 parent db76830 commit 6533294
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions albumentations/augmentations/geometric/transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,18 +258,12 @@ class InitSchema(BaseDistortion.InitSchema):
approximate: bool
same_dxdy: bool
noise_distribution: Literal["gaussian", "uniform"]
border_mode: BorderModeType = Field(deprecated="Deprecated")
value: ColorType | None = Field(deprecated="Deprecated")
mask_value: ColorType | None = Field(deprecated="Deprecated")

def __init__(
self,
alpha: float = 1,
sigma: float = 50,
interpolation: int = cv2.INTER_LINEAR,
border_mode: int = cv2.BORDER_REFLECT_101,
value: ColorType | None = None,
mask_value: ColorType | None = None,
approximate: bool = False,
same_dxdy: bool = False,
mask_interpolation: int = cv2.INTER_NEAREST,
Expand Down

0 comments on commit 6533294

Please sign in to comment.