Skip to content

Commit b081758

Browse files
authored
In albumentations >= 1.4.0 the "imgaug" library was removed. some functions 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/
1 parent 6db76a1 commit b081758

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

examples/cars segmentation (camvid).ipynb

+4-4
Original file line numberDiff line numberDiff line change
@@ -277,13 +277,13 @@
277277
" albu.PadIfNeeded(min_height=320, min_width=320, always_apply=True, border_mode=0),\n",
278278
" albu.RandomCrop(height=320, width=320, always_apply=True),\n",
279279
"\n",
280-
" albu.IAAAdditiveGaussianNoise(p=0.2),\n",
281-
" albu.IAAPerspective(p=0.5),\n",
280+
" albu.GaussNoise(p=0.2),\n",
281+
" albu.Perspective(p=0.5),\n",
282282
"\n",
283283
" albu.OneOf(\n",
284284
" [\n",
285285
" albu.CLAHE(p=1),\n",
286-
" albu.RandomBrightness(p=1),\n",
286+
" albu.RandomBrightnessContrast(p=1),\n",
287287
" albu.RandomGamma(p=1),\n",
288288
" ],\n",
289289
" p=0.9,\n",
@@ -300,7 +300,7 @@
300300
"\n",
301301
" albu.OneOf(\n",
302302
" [\n",
303-
" albu.RandomContrast(p=1),\n",
303+
" albu.RandomBrightnessContrast(p=1),\n",
304304
" albu.HueSaturationValue(p=1),\n",
305305
" ],\n",
306306
" p=0.9,\n",

0 commit comments

Comments
 (0)