This repository was archived by the owner on Jan 23, 2023. It is now read-only.
Update dependency albumentations to v0.5.2#125
Closed
renovate[bot] wants to merge 1 commit intomainfrom
Closed
Conversation
|
This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days. |
|
This PR was closed because it has been stalled for 10 days with no activity. |
Author
Renovate Ignore NotificationAs this PR has been closed unmerged, Renovate will now ignore this update (==0.5.2). You will still receive a PR once a newer version is released, so if you wish to permanently ignore this dependency, please add it to the If this PR was closed by mistake or you changed your mind, you can simply rename this PR and you will soon get a fresh replacement PR opened. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==0.4.5->==0.5.2Release Notes
albumentations-team/albumentations
v0.5.2Compare Source
Minor changes
[H, W]to the shape[H, W, 1]. PR #604 by @Ingwar.masksargument to the transform function. Previously this augmentation worked only with a single mask provided by themaskargument. PR #761v0.5.1Compare Source
Breaking changes
A.FDAis changed to resemble API ofA.HistogramMatching. Now, both transformations expect to receive a list of reference images, a function to read those image, and additional augmentation parameters. (#734)A.HistogramMatchingnow usesread_rgb_imageas a defaultread_fn. This function reads an image from the disk as an RGB NumPy array. Previously, the defaultread_fnwascv2.imreadwhich read an image as a BGR NumPy array. (#734)New transformations
A.Sequentialtransform that can apply augmentations in a sequence. This transform is not intended to be a replacement forA.Compose. Instead, it should be used insideA.Composethe same wayA.OneOforA.OneOrOther. For instance, you can combineA.OneOfwithA.Sequentialto create an augmentation pipeline containing multiple sequences of augmentations and apply one randomly chosen sequence to input data. (#735)Minor changes
A.ShiftScaleRotatenow has two additional optional parameters:shift_limit_xandshift_limit_y. If either of those parameters (or both of them) is setA.ShiftScaleRotatewill use the set values to shift images on the respective axis. (#735)A.ToTensorV2now supports an additional argumenttranspose_mask(Falseby default). If the argument is set toTrueand an input mask has 3 dimensions,A.ToTensorV2will transpose dimensions of a mask tensor in addition to transposing dimensions of an image tensor. (#735)Bugfixes
A.FDAnow correctly uses coordinates of the center of an image. (#730)A.HistogramMatching. (#734)A.load()was called to deserialize a pipeline that containedA.ToTensororA.ToTensorV2, but those transforms were not imported in the code before the call. (#735)v0.5.0Compare Source
Breaking changes
New transformations
A.FDAtransform for Fourier-based domain adaptation. (#685)A.HistogramMatchingtransform that applies histogram matching. (#708)A.ColorJittertransform that behaves similarly toColorJitterfrom torchvision (though there are some minor differences due to different internal logic for working with HSV colorspace in Pillow, which is used in torchvision and OpenCV, which is used in Albumentations). (#705)Minor changes
A.PadIfNeedednow accepts additionalpad_width_divisor,pad_height_divisor(Noneby default) to ensure image has width & height that is dividable by given values. (#700)A.CoarseDropoutto masks viamask_fill_value. (#699)A.GaussianBlurnow supports the sigma parameter that sets standard deviation for Gaussian kernel. (#674, #673) .Bugfixes
A.HueSaturationValuefor float dtype. (#696, #710)YOLOformat. (#688)v0.4.6Improvements
ReplayComposeis now serializable. PR #623 by IlyaOvodovBug Fixes
PadIfNeeded). That happened because Albumentations checked which bounding boxes and keypoints lie outside the image only after applying all augmentations. Now Albumentations will check and remove keypoints and bounding boxes that lie outside the image after each augmentation. If, for some reason, you need the old behavior, passcheck_each_transform=Falsein yourKeypointParamsorBboxParams. Issue #565 and PR #566.9c225a9ImageCompressionandGaussNoise. PR #569label_fieldsinBboxParams. PR #504 by IlyaOvodovConfiguration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.