Skip to content

Commit

Permalink
In albumentations >= 1.4.0 the "imgaug" library was removed. some fun…
Browse files Browse the repository at this point in the history
…ctions need to be renamed (#870)

In albumentations >= 1.4.0 the "imgaug" library was removed. some functions need to be renamed in order to support albumentations >= 1.4.0.

read more at:
https://albumentations.ai/docs/release_notes/
  • Loading branch information
CallShaul authored Apr 23, 2024
1 parent 6db76a1 commit b081758
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/cars segmentation (camvid).ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -277,13 +277,13 @@
" albu.PadIfNeeded(min_height=320, min_width=320, always_apply=True, border_mode=0),\n",
" albu.RandomCrop(height=320, width=320, always_apply=True),\n",
"\n",
" albu.IAAAdditiveGaussianNoise(p=0.2),\n",
" albu.IAAPerspective(p=0.5),\n",
" albu.GaussNoise(p=0.2),\n",
" albu.Perspective(p=0.5),\n",
"\n",
" albu.OneOf(\n",
" [\n",
" albu.CLAHE(p=1),\n",
" albu.RandomBrightness(p=1),\n",
" albu.RandomBrightnessContrast(p=1),\n",
" albu.RandomGamma(p=1),\n",
" ],\n",
" p=0.9,\n",
Expand All @@ -300,7 +300,7 @@
"\n",
" albu.OneOf(\n",
" [\n",
" albu.RandomContrast(p=1),\n",
" albu.RandomBrightnessContrast(p=1),\n",
" albu.HueSaturationValue(p=1),\n",
" ],\n",
" p=0.9,\n",
Expand Down

0 comments on commit b081758

Please sign in to comment.